Publication profile

Initial version of the publication profile based on tim's setup branch.

I was under the assumption that trimpath would be used to render templates so that's what I went for. I also made a minor modification to main.js to load a page module if it's provided. This also makes it more in line with what's already done in 3akai-ux.

For the publication page to work you'll have to create and process a PDF and go to the content profile. Also keep in mind that there are some changes to the nginx configuration.