Completely rewrote API

It now makes use of the latest PocketSphinx API methods, and more
closely resembles the Android and WindowsPhone wrappers. In addition to
this, the API should be completely asynchronous
Updated demo to use a grammar