Reformatted code a bit
First round: added localhost check, started with user authentication verification.
Update AbstractAccount.java

using &lt;account&gt; instead of &lt;user&gt;.
Merge pull request #223 from jensopetersen/patch-4

Update AbstractAccount.java
[performance] Cleanup method: Sequence.destroy is called much too often inside FLWOR execution. Only call it once when a variable actually runs out of scope.
Merge pull request #224 from wolfgangmm/develop

[performance] Cleanup method: Sequence.destroy ...
[bugfix] Quick fix to support for positional variable in group by.
Merge pull request #225 from wolfgangmm/develop

[bugfix] Quick fix to support for positional variable in group by.
Extended servlet with token functionality
corrected name of file
[fix] -  added  "set_locale_lang", "restore_locale_lang" and "set_java_options" calls and changed JAVA_OPTS to JAVA_OPTIONS as set in eXist-settings.sh,
Merge pull request #226 from zwobit/develop

[fix] -  run.sh now uses JAVA_OPTIONS and sets and unsets locale lang.
code review
update git ignore
Merge branch 'feature/code-review' into develop
Merge pull request #230 from shabanovd/develop

code review
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
update comments