fix #2344, #2340
fix gate dupe bug, rewrite quarry logic
adjust quarry speed algorithm for RF (finally!)
Merge branch '6.3.x' of github.com:BuildCraft/BuildCraft into threaded-pipes