Reformatted code a bit
First round: added localhost check, started with user authentication verification.
Extended servlet with token functionality
corrected name of file
Merge branch 'develop' of github.com:eXist-db/exist into feature/secure_jmx_servlet
Improve security of JMXservlet
- localhost is always allowed
- token can be provided
- check for session (e.g. for Monex) so a logged in(=authorized) user can use the application
Small refactoring
Small refactorings
Made reference to data directory more servlet like; review comments by DS.
Merge pull request #231 from dizzzz/feature/secure_jmx_servlet

Improve security of JMX servlet