Added license gradle plugin and updated headers. Also added jacoco.