renamed __type_from_property and __property_from_type to _type_from_property and _property_from_type
Removed obsolete code.
Cleaned up JSON error response when not in debug mode.
Added Query object to Python client to simplify passing filters and order-by.