Update src/Basset/Basset.php

Allow collections to be compiled on the fly, if needed.
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.