Added a gen_fsm template
Merge branch 'gen_fsm-template' of https://github.com/grahamrhay/erlang.mk
Improve the gen_fsm template

* Rename and add the default state functions `state_name/2,3`
* Rename the variable `State` into `StateData` as per documentation