Changes license to Apache v2 and adds headers for the core files
Adds Apache v2 and Public license headers to the key examples
Apache 2 headers for Makefiles, utils and testing framework
Merge pull request #269 from yurydelendik/apache2

Changes license to Apache v2 and adds headers for the core files