Minecraft Powered Minecart Collect and Deposit

2015-05-02_13.48.10
This arrangement allows you to Empty on the right and send it to a box on the left.
Please note: On the collection point (right hand side) there is a Not Gate using a redstone torch.

Now that microsoft minecraft has stopped allowing you to mine mobs properly:

enable cheats then /gamerule maxEntityCramming 0