Added controller generator

generateController takes a controller name and a set of states, and
produces a controller consisting of a method for each state and a
view/template to match it.
Changed controller generator to output a list of includes
Merge pull request #1 from adammulligan/master

Controller Generator