Add singlehtml builder option.
Add localmedia builder, and use it for zipped html.
Move zip html logic into single local media builder.
Fix up singlehtml builds
A bit more safety checking
Merge pull request #675 from rtfd/singlehtml

Add singlehtml builder option.