Builder: consolidate handling of database types

- Reduced duplication of database-type-related information throughout
module builder.
- Database type information should always be pulled from the
modulebuilder library, which attempts to pull the information from the
modulebuilder config file (which should allow for use with databases
other than MySQL)