content_type for JSON should be first match, not last
Unique constraint should return input data not an empty instance
Merge pull request #10 from wave-framework/master

Sync with master for bugfixes