Fixing #122

The name of uniqueConstraints is the key $classMetadata->table['uniqueConstraints'] not a property