Changed some code style and enabled JSHint for the client javascript.
Added full automatic reload, when the server version changes.