Light cleanup
No longer forces collection id's to be numeric.
Allow API requests to use content negotiation with the Accept header
Merge pull request #1081 from danielstjules/453f33dc1616e6f8d7c33aef7ce13d76e581295b

Quick cleanup and small fix for the API