Fixed problem on args for constraint, e.g. Person.property :num, contraint :unique #311

Before this commit we had to write Person.property :num, constraint: {type: :unique}