fix license headers for Apache License 2 code.

follow indications from the following doc:
https://www.mozilla.org/MPL/2.0/permissive-code-into-mpl.html