upgraded to es 1.4.0.beta1

* java 7 now prerequisite
* some minor changes in generics and interfaces

junit tests run through, so it might be safe for a pull request