Fix M:initial_state/0 handling

initial_state/0 may return {'foo_state', Data} or 'foo_state'.  Adjust
the caller accordingly.
Merge pull request #11 from tuncer/fix-fsm-initial_state

Fix M:initial_state/0 handling
Add triq_fsm test
Merge pull request #12 from tuncer/test-fsm

Add triq_fsm test
test/lock_fsm: do not match result of start/1 and stop/0
Merge pull request #13 from tuncer/lock_fsm

test/lock_fsm: do not match result of start/1 and stop/0