Added a check for empty state hierarchies.
Merge pull request #5 from eightyeight/no-empty-structs

Don't generate code for empty StateHierarchies