Converted to maven project with latest Junit

Use of JUnit 4 and a maven project to make this easy to port across
other java folks.