Fix cmd/configProject to work in WAR env.

#19
Fix indentation to match rest of file.
Use Path class, instead of string manipulation.

#19
Calculate resource path with servlet context in mind.

#19
Merge branch 'M9' into orion-war

* M9:
  Calculate resource path with servlet context in mind.
  Use Path class, instead of string manipulation.
  Fix indentation to match rest of file.
  Fix cmd/configProject to work in WAR env.