Add JSON support for require statments.
add __dirname support
Merge branch 'JSON-Support'

Conflicts:
	lib/bundle.js