Dynamically Filter on Class Attributes

The API can now query the database with filters from the request arguments.

This is dynamic and works with the getattr() function.  If the request
argument doesn't exist in the class attributes a AttributeError is raised and
a 404 is returned.

Did a bit of code cleanup and stuff and stuff.