Limit project names to 50 characters

Mongo requires database name plus "." plus collection name to be
less than 128 characters total, so if a project name is too long
it can cause problems in the Mongo database. This should preempt
any such problems.