Remove the Var type in Frontend and use Variable in Representation in its place.

There's still too much parameterization on Variable, but leave that in for now. Once Prog and Program are completely merged that should be easier to get rid of.