Merge pull request #185 from goodscloud/fix-for-get_or_create

if query finds no row in the database, create a new one instead
Adds a wrapper around abort function to add JSON Content-Type.
Trims line to 80 characters.
allow disabling deep results per-request

originally by @johaness
fix POSTing to hybrid properties with expressions and setters