Moved code from google code darwincore site and updated source and tests to work with the latest dwc-api and github