Fix to application/xml output so that valid XML is returned.
Merge remote-tracking branch 'upstream/master'
Fix for XMl rendering of ObjectID returned from POST to fs collection.
Rafactored conversion to JSON of body content into middleware modules to simplify router.js.
Merge pull request #1 from dvazquez1027/master

Various fixes