Improve quarry arm rendering (and a bunch more)

The block rendering code (used to render the quarry arm, lasers, fluid in tanks, gates and etc) was extremely clunky, so I gave it a good clean up :D

So now instead of looking like this:
![screen shot 2014-12-17 at 04 32 48](https://cloud.githubusercontent.com/assets/5294529/5467401/f1a71978-85a5-11e4-9ff3-98ee438a29a0.png)

The quarry arm looks like this:
![screen shot 2014-12-17 at 04 31 39](https://cloud.githubusercontent.com/assets/5294529/5467408/ffea39d4-85a5-11e4-9ea7-4fe18c93727a.png)

This PR also fixes the issue mentioned on #2247 where the mining drill would not render from a distance larger than 40 blocks.