[cli] added option of using callback to cli.createRouter
Merge branch 'master' of git://github.com/bigcompany/resources