fix for version service

maven war plugin archiveClasses and attachClasses turned on to create jar in war

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
js fix for rest api: .json postfixes removed

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>