Updates to build system, adding in Sonar and Jacoco. Also adding first test.