Added the mecab and kakasi support directory and refactored code.

The code is now broken up into two classes, one which initialises and
uses mecab, and one which does the same for kakasi.  Changed the code
to use a local copy of the kakasi and mecab binaries etc.