api: add patrun exporting function
Merge pull request #51 from yawnt/fix-export-patrun

api: add patrun exporting function
executor log msgs
Merge branch 'master' into 0.5.20
fixed executor test
actrouter is now an option value
removed declare method
plugin delegate moved to lib/plugin-util.js
move resolve_options to plugin-util
removed legacy plugin def option
cleanup plugin init a little
refactored define plugin call