Added apache_note() and automatedApiCall
Added a fake apache_note() for unit testing
Fixed check of $automatableApiCalls
Implemented automatedApiCall in UI

And removed the previousGameId from Newgame.js's URL, because it was
easier than not doing it.
Unit testing
Addressing jenkins' warnings
Take #2 at PMD cleanup
Take #2b
Removed debugging code
Merge pull request #1195 from AdmiralJota/271_1154_crouching_log_hidden_monitor

Made Monitor not affect "Who's online", logged API methods and removed previousGameId from URL