[r=rvb][bug=][author=mpontillo] Move detection of development environment to the beginning of the "dbshell" command. Add --dev option to force usage of a development environment. Also add a print statement, so the user knows if we're trying a development or a production database.