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
He has removed that part in the mean time.

See `app.parameterize` in [common/settings.js@2a25c54](https://github.com/kraman/blog/blob/2a25c542b8b2dc9e7cd1d453e9625c6c1743556d/common/settings.js)