API initial
WIP
Actons "router", others. Still a WIP
Added http basic authentication wrapper
Switched back to web.py native exceptions. Reduced number of returned error codes.
@auth added. Logging.
api decorator renamed to does_json
Added some more structure
Added some comments and todos
Added JSONAppBrowser for testing purposes
Fixes an HTML table rendering problem when station 0 is Master.
Merge remote-tracking branch 'upstream/refactor' into refactor

Conflicts:
	templates/stations.html
Merge remote-tracking branch 'upstream/refactor' into refactor
JSONP callback support added
Merge remote-tracking branch 'upstream/refactor' into refactor
Merge remote-tracking branch 'upstream/refactor' into refactor
Merge remote-tracking branch 'upstream/refactor' into refactor
Merge branch 'refactor' into api
Merge remote-tracking branch 'upstream/refactor' into api
remaining_seconds converted to property
WIP
Station actions ready
Logs done
Options done
Remaining System and Programs