Major bug squash

These commits should finally enable us to progress with SC's development as our software is reported to capable of recognizing speech and initial Python interface allows for connecting to the daemon's signal - the first step towards easy, high-level interaction with PocketSphinx through Python.

I think I'll polish the code a bit before pulling but it's almost there.