HFSM

Implemented all of the HFSM stuff

Implemented:
- Result class
- HFSM class
- HFSMBase class
- HState class
- HTransition class

Closes #15
Closes #14
Closes #13
Closes #12

@jamcohen @LochNeffMonster please review