Compress the embedded resources.

We'll decompress the data lazily into memory, and keep it there for
future reads.  This brings the compiled dll size down to normal levels
(about 2.7KB)
Minor refactoring