Use data URIs for script embeds

Fixes maxogden/requirebin#27.

This stops closing </script> tags from interfering with
scripts. Using UTF-8 to avoid issues encoding some scripts
with base64.
Merge pull request #3 from hughsk/data-uris

Use data URIs for script embeds