Adding/changing license headers for greg module

Adding license headers to all files and changing incorrect apache license headers to wso2 license headers
It should be 2005-2014