cleaning up snippets to respect https
merging with master and adding in more actual js loading tests. plus fixing all file:// protocols to be http
Merge branch 'master' into snippet
Merge pull request #58 from segmentio/snippet

Updating snippets to not use file:// protocol, and adding a bunch of tests for actual js loading