DBroker customQuery bugfix, removed debug code.

- Fixed calling customQueries outside of functions.
- Removed WOAH print_r() of database settings on use.