Added filtering support for REST API

This is every filter I can think of as being useful right now. Let me know if there are additional filters you want to add.