Refactored tests and mocked ClusterService. Added support for both dynamic and static imports.
Merge branch 'master' of github.com:btiernay/elasticsearch-lang-java