Add manifest compilation for production.

Write output of asset compilation to the filesystem and read from the manifest
as required. Still need a few more tests around this.