Set eclipse configs, pom and classpath to use java 8
Adjust tests

As java 8 sorts maps in a different order the string assertion on json objects
fails. Sometimes it was enough to rearrange the order of input to the map.
In one case it was necessary to input the string directly.