Add LICENSE file and add header to source code files.=

https://bugzilla.mozilla.org/show_bug.cgi?id=866118