Exported common methods to super class

The MipsVisitor and Semantic Visitor had a lot of common members. This
commit put all those common methods and fields into a super class
called BantamVisitor.

Also deleted a few methods that we thought were going to be useful but
weren’t actually used anywhere.