v0.04, major rework, breaks compatibility

Privatised functions, rearranged refs & reqs, defs now (correctly)
called promises, added multi-file support for scripts and styles,
support for loading cached scripts.