Clean, Term System

We cleaned up some more code and added a term system for adding terms
for the intersection- and sensor expressions from MinecartRevolution
plugins.