Fixes for issues in pocketsphinx
Implements more of the interface and deal with input of binary array and strings