Fixes #73

o Introduces UniqueFactory#getOrCreateWithOutcome which returns a
  UniqueFactory#UniqueEntity with entity/wasCreated. REST API also uses
  this method instead of custom code in its UniqueFactory implementations.
Merge pull request #1003 from tinwelint/fix-73

Fixes #73