Add licenses

Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1031534, License fragment headers throughout