Removed DatabaseConstraints.rankExists() [use Ranks.exists() instead]
Aded Ranks.getNumber(name)  [another nasty temporary function]