Make maven building easier and run unit test when building with ant

For making future development easier, the following changes are made.

- Add maven-compiler-plugin to pom.xml for building with maven
- Enable test when building with ant
- Fix expected value in Sha1UDFTest