added base API controller for other apps to use
Closes #16, Closes #13 - request state now handled as request attribute, not stored locally in listeners
WIP: fixing format tests, updated dev dependencies
format tests passing
Merge pull request #20 from evillemez/formats

better response format handling