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.)
Changed to support compatibility.

This change was made to buildcraft would work better when a IInventory returned false when calling func_102007_a function. Now continues to check other slots. (Maybe you're using func_102007_a to return true if you want items to only go into a specific slot and not out.)
Removed the config option to always connect pipes. Refactored pipe connections
add ForgeDirection to logic too
fix transport connects
remove general check on transport class
Merge pull request #655 from kouteiheika/master

Bulletproof the Box class against accidental world corruption and bugs.

-Don't really understand, but merged anyway.
Merge branch 'PipeConnectionRefactor'

Conflicts:
	common/buildcraft/transport/TileGenericPipe.java
Don't register our own blocks, ...

...let FML do that.
Add Item registration
Remove inheratance from ConnectionMatrix. Save 6 bytes per packet
Added BitSet codec
Change ConnectionMatrix to use a BitSet internally to represent the connections. Saves 25 bytes per packet
Change WireMatrix to use BitSet to determine if wire is present. Saves 3 bytes per packet
Wrenches can now rotate many more blocks.

Implemented new Forge Rotation API.
Update TileMarker.java

Fix NPE on destroying tilemarker.
Merge pull request #767 from Prototik/master

Fix for destroying a tilemarker.
Added default textures for engines
Made engines use the new default icons
Fixed naming
Updated the forge version to .662. Updated Core dependency to require forge .662