adding asset-path rewriting (similar to css url-rewriting) for scripts
Merge branch 'master' into script-asset-path

Conflicts:
	test/scripts.js
Merge branch 'script-asset-path'