Fixes $root and adds a test to validate.
Merge branch 'master' into rootFix

Conflicts:
	src/View.ts
Merge pull request #41 from OneJSToolkit/rootFix

Fixes $root and adds a test to validate.