Reduced usage of macros USE_MYSQL, USE_PGSQL, BROADCAST, LAST_INSERT_ID
Every module should call database by global object sice I plan to remove static database driver dependency
Remove another USE_PGSQL macro
removed unnecessary database dependent, compilation time typecast (cutoff module)