Start of outputs JSON API

Returns results fo no outputs in the system
Return details of an output
Added outputs index response.
Restructure webserver tests around endpoints
Add some error handling to webserver
Endpoints to activate and deactivate an output
Tignten up routing and return 405 for wrong methods
Use net/http's error functions
Merge remote-tracking branch 'origin/output_api'