Refactor: runtime, instrumentation to separate folders. Split runtime into physical modules which are flattened during build. Improve overall doc quality.
fix tests after refactoring.
Update Gruntfile docs.
Ensure embedded runtime text is only ever initialized once.