Made keys optional, generate unique key if none provided
Minor refinement to the example
Duration units minus looping (Complicated, and not needed for current project. Will fix later)
Added new states example
Really convoluted way to make it not skip when transitioning states
Don't transition in same state
Added TODO comment
Merge branch 'feature/states' into develop
Merge pull request #2 from btparker/develop

Develop