#373 and #287: more work on execution flow, implemented the new layered rendering system. upcoming awesomeness: we'll have (optionally) configurable layouts, and the necessary changes for that will allow to have other template sources than just the file system. enjoy, and test this please (some parts are still rather wonky and have to be figured out, but it works in general)