Move data transformation code from tests to a Transform class

See #5.

Move the actual transformation code into a Transform class, call that from the tests. Add a main method to do the actual full transformation (run Transform.java as Java application).

Run NtToEs.java in oer-api to index the result in Elasticsearch.