Fixed license headers, package names, added gradle task to build with sources