Fix #91: Implement Gem#state

Work In Progress.

Currently implements

<img src="https://rawgit.com/wiki/ManageIQ/polisher/states.svg" />
I don't think we need the local variable check_dep here.