Fixes broken tests from the machine tags changes.

git-svn-id: https://gbif-labs.googlecode.com/svn/registry2/trunk@394 89ac5c38-9969-5761-5d00-0bba396465e7
Fixes to migration so that:

1) the newest installation is used when mulitple are wired for a dataset
2) deleted datasets are migrated, provided they have an installation
3) machine tags populated only with the values needed by the metasync
4) other machine tags are migrated as comments, such as an admin commenting that a dataset was migrated

git-svn-id: https://gbif-labs.googlecode.com/svn/registry2/trunk@395 89ac5c38-9969-5761-5d00-0bba396465e7
Fixes the issue that when mutliple installations are available for a dataset, but one is deleted, the non deleted one will be prefered rather than random MySQL ordering

git-svn-id: https://gbif-labs.googlecode.com/svn/registry2/trunk@396 89ac5c38-9969-5761-5d00-0bba396465e7
Fixed augmentation of datasets which stopped (e.g machinetags) from working

git-svn-id: https://gbif-labs.googlecode.com/svn/registry2/trunk@397 89ac5c38-9969-5761-5d00-0bba396465e7
Provides correct validation such that:
  i) key, created, createdBy, modified by is verified to be NULL pre create
  ii) the above are nonnull postcreate

Adds a LenientEquals check to all model objects to simplify testing, and provide consistency

git-svn-id: https://gbif-labs.googlecode.com/svn/registry2/trunk@398 89ac5c38-9969-5761-5d00-0bba396465e7
Fixes for some of the testing issues we see in DatasetIT, depending on whether it is forked in a new JVM or not.  Now all tests run on eclipse and command line

git-svn-id: https://gbif-labs.googlecode.com/svn/registry2/trunk@399 89ac5c38-9969-5761-5d00-0bba396465e7