Modified page and chunk rendering

Now the chunk system is more transparent. Good for using the
chunk-system in custom modules.
Also modified the Asset-Library to get rid of __head__ and __scripts__
calls in the templates