Adding license comments; ensure they're preserved in minification; consistently using the MIT license.

Fixes #77.