清理部份debugger语句,
修复router中在opt.error为function未对其加壳的错误.
修改模板配置方式,支持自定义的adap.

Changes to be committed:
	modified:   httpd.js
  modified:   libs/actionVisitor.js
	modified:   libs/chain.js
	modified:   libs/router.js
	modified:   package.json
  modified:   test/test_chain.js
	modified:   test/test_router.js