Feature/next gen layout

More changes in order to bring the repo layout closer to the new Workspace layout.

 - Move api/ to rest/
 - Move most of configuration out of configure.js
 - Move configuration of ng routes out of configure.js

Things to do next (out of scope of this PR):
 - scaffold the html5 app using  `yo angular`
 - replace Gulp-based build with Grunt, the base is scaffolded by `yo angular`, get rid of the remaining `configure.js` code
 - refactor web into `webapp` and `server`

/to @ritch please review
I feel this is far from perfect. We should come up with a better way if we want to support customized app title in our workspace templates. Perhaps implement the parametrisation which @kraman proposed in his alternate layout.

Thoughts, @ritch?