Add resource representations
Merge branch 'master' into representations
Uses resource representations if available, otherwise falls back to a normal flask response
Fix representations default behavior when none of the accept header encodings fit
Add tests for representations