Compile collections on the fly when needed.

Allow collections to be compiled on the fly, if needed. (As proposed in #73)
Creates the compiler instance only when needed. Does the same checks as before (but different order).
When compiled, checks if they really are compiled.
Does need to have write permissions to the assets folder.