added library from https://github.com/cornelisse/LuaFSM
using test code
adapting the code a little bit for our needs. WARNING: this will break the game; I'm currently calling state.states directly with pure Lua.
return something from within the transition action
do state-dependent things generically
allow empty transition actions
encapsulating to prepare using it with the game
use the object pattern we've been using
using the new code via the old method; not using the state machine yet
typo
more state migration
added back the proper CREDITS and PAUSED states
Merge branch 'feature/issue/#14' into develop