Fixed some issues with the DB admin system

-erro_admin_ranks table did not exist
-passing a string in to admin new instead of a rank.
Added a better error message
Merge pull request #3234 from Rockdtben/fixAdminDB

hue