Lots of small bugfixes. Changed database queries to use real prepared statements.
_module: print when loading, added get/set_config
Small bugfixes; google and ns use database for config; fixed sed and admin_functions