maven-war-plugin config corrected.
Separate Maven profile to build war (with REST endpoint).
Merge pull request #2 from Bezuhlyi/master

war building fixed