Fix unit test so it doesn't depend on JSON order.

The test was failing because the strings didn't match exactly but they were still correct, it just happened that the order of the elements was different.
Set everything to be UTF-8.

This is important as the test files have non ASCII characters in them.
Update Jersey to newer version.

This was driven by the fact that sources and javadocs aren't in the maven repository for earlier versions.
Update to Java 1.6 as that's what were running on now.
Cleanup whitespace.
Remove eclipse files as we can generate from pom.xml

mvn eclipse:eclipse to get them back and this keeps them in sync with the pom.
Or use m2e plugin for eclipse.
Remove redundant code.
Merge pull request #2 from ox-it/WL-2653

WL-2653 Just tidy up some code.