[WIP] Work towards being able to do rolling apply

https://github.com/ContinuumIO/libdynd/pull/46