Fixing duplicate increase of build number due to two deploy goals.

Adding generation of javadocs to compile phase as source code generation
has finished by then.
Merge branch 'master' of github.com:Graylog2/graylog2-server