Merge pull request #208 from sunyc/master

Restoring PAKCAGE_DB in local_options.testdev, fix compile
Fix crash in LPC socket_accpet.
Significantly simplify main.cc, rc.cc

Revamp how runtime configs are used through out codebase.
Unify add_vmessage / add_message
Remove support for ! char as the escap ecommand. (Please complain if you are still using this somehow).
Cleanup stacks before shutdown, avoid triggering valgrin in release mode
New codebase orgnaztion