add enum generation -JG
remove trailing whitespace
haskell bindings: don't export more than needed in CasadiTree.hs