added next state parameter to be used by famous-wrapper
fixed #93
patch release - Bump to version 0.9.8