refactors to dynamic content, output path & dirs

- this commit contains a very very edge breaking change, that
  folder_config was removed as an option from app.coffee
- add views and assets to project.dirs
- refactor output path to be more reliable
- port in fix from 8126140d9e for dynamic content