Dynamically generate livereload script.

Allows usage of any host, without options, and without using inline script tags (which are not allowed under content security policy).

Closes #9.
Closes #8.
Closes #5.