Improve pivot_table for more complex aggregation function specs
Currently hampered by multiple unstacking not being implemented for existing hierarchical indexes. This was just a function of my running out of time when I was last working on this
