Updated nose tests
Merge branch 'master' into representations
Uses resource representations if available, otherwise falls back to a normal flask response