Add UniqueEntities (a 2.0 version of UniqueFactory)

o Provides a utility for adding unique entries for a constraint (getOrCreate).
o Also wraps the legacy UniqueFactory to provide a unified interface.