Response formats for V2 API

- Implemented new formatters for JSON & XML output
- Refactored APIAliasTest to split out test DataObject and made fixture more
  generic for use in other tests
- Added format output tests and expected output files
Move formatters into own directory
Add test for invalid response format
Refactor formatter detection code in V2 controller
Expand tests