support middleware in wx.text
support middleware in all handlers
fix register handlers
fix register text_handlers
support `next(err)`
Merge pull request #22 from faceair/master

support middleware in all handlers