Switched the AJAX handler to return JSON-encoded errors instead of error-codes
Added SendJSONResponse for marshaling and sending a response-map
Fixed bug in playerdetails.html and players.html, still trying to access the old player-corp variable
Started general reformatting and cleaning of the fleet details template
Reduced own javascript to simple toggle function and a click-listener for the collapse-buttons
Continued preparations for the AJAX handler