Made it play nice with RequireJs powered setup.
Adjust compiled templates loader to suport AMD.
Made globals dependency more vocal.
Merge changes from master

Conflicts:
	index.js
	server/layoutFinder.js
	shared/helpers.js
	shared/templateFinder.js
	test/shared/templateFinder.test.js
Merge pull request #7 from alexindigo/master

Made it play nice with RequireJS powered setup.