Reworked the command registration system

Please read the [javadoc](https://github.com/Limeth/Terasology/blob/16965803d4edd128ce5baaa3c35e814de26752f3/engine/src/main/java/org/terasology/logic/console/Command.java).
If EntityRefs are identifiable by an id, I guess there's a registry for them? Having an adapter could be useful in that case.