Removed support for forward declaration of module properties, better module encapsulation, merged preRun and addRuntimeDependency.
Updated unit tests to work with new preRun / postRun functionality
Merge branch 'onload' into incoming2

Conflicts:
	src/shell.js