Cleaned up rendering code

Moved code that renders buildings, powerplants and powerlines to their own respective class. The code for rendering a building is now in building.js etc.