Many changes pertaining to next/previous states.
Mainly TTS.java now runs in a different cordova thread, preventing blocking.
Still, the whole javascript engine runs in one thread. Hence, we can't keep polling for the TTS state. Hence fix fot that, though partially implemented, is there in this commit.
Next/previous has a logical bug which will be fixed.