Improve custom error "InvalidStateError".
Improve custom error "InvalidStateError".

angustus/QStately.js,fschaefer/Stately.js,benjah1/Stately.js,benjah1/Stately.js,timoxley/stately,fschaefer/Stately.js