a lot of clean up coding

1. SQLINE command modularized
2. null routed messages are setup in a module
3. core modules don't use sql_escape()
4. variable clean up removed all the unused ones
5. gutted out the unused language stuff