detect chrome extension
Merge branch 'master' into support_chrome_extensions
Merge branch 'master' into support_chrome_extensions

Conflicts:
	lib/controller.js
regenerate leap.js
Merge pull request #25 from leapmotion/support_chrome_extensions

Detect if inside chrome extension, use correct loop