Catalog item comparator - implement custom

The NaturalOrderComparator leads to unexpected sort order (i.e 0.0.0_SNAPSHOT and 0.0.1-SNAPSHOT-20141111114709760). OSGi's Version class and other semver java implementations are too strict.
Fix NPE on creating entities with no explicit location
This closes #331