Experimental hook/helper

Currently only finish hook point is supported.
finish is called just before manipulation finish.
If you want to additional text manipulation, you can start from following example.
The hook must accept one argument(tm in this example), which is texmanip app instance itself.