Bulletproof the Box class against accidental world corruption and bugs.

In some rare cases the Box's initialize() may be supplied with
coordinates equal to INT_MAX while theoretically being initialized.
Normally this would be harmless, as with every coordinate being
INT_MAX the resulting box's dimensions are zero, however anywhere
where one of the coordinates is actually used in a loop with a
"i <= coord" condition the loop counter will overflow and bad things
will happen, e.g. in FillerFlattener.iteratePattern, where
I encountered this bug, an array will overflow and take down the
whole game with it resulting in a corrupted world. (As broken INT_MAX
coordinates will get saved in NBT tags.)
First draft. Still lots to do.
Merge branch 'master' into mc1.5
Huge amount of fixes. Still a LOT to go.
Renamed pipe related textures
Ported Pipe textures (Pipe "api" changed for submods)
Ported Wire textures
Updated pipe sync to accomodate Icons
Updated all pipes to new "api"
Nerfed Herobrine
Migrated gates
Minor renaming
Fix derp
Renamed getCollisionBoxes to addCollisionBoxesToList after forge/fml update
Split sheets for krapht
Moved GuiIcons and Triggers to subfolders
Cleaned up icons for items and textures
Renamed getCollisionBoxes to addCollisionBoxesToList after forge/fml update
Fixed Action/Trigger textures
Fixed rename.
fixes #648
A bunch of fixups. The code *runs*, but there's a lot of gfx issues to fix up.
Facade items render the block part correctly, pipes still messed up
Pipe render state defaults to dirty to trigger a sync when placing a pipe
Tweaked Hopper fill speed
Delete getTextureFile from everything. It's gone.
Fixed Pipes, Gates, Wires and several items
Actions and Triggers remain
Started fix on actions/triggers, untested
Removed Action and Trigger from API
Moved IIconProvider to API
Renamed Action -> BCAction
Renamed Trigger -> BCTrigger