fix NRE
deal with contenttype with charset
fix from where we take the headers
Allow to check for active bundles before executing the controller (still needs testing)
Merge branch 'webapi' of https://github.com/damianh/ravendb into webapi
Fixes for headers so both headers and content headers are looked in
fix the replication and bundles controllers to fit each other
Remove unused using directives.