Implement $pull, $push, $inc with nested arrays.

Includes tests.