Code Cleanup

Moved get instances of sides of a tileenergy to TileEnergyChecker to be
easily be reused throughout mod and limits the need to rewrite the same
code over and over again