Update database.php

add ability to load config file by constant 'MONGODM_CONFIG'