Add a subtotal option to PivotTable.

Hi,

I added an option to be able to specify the subtotal function for Pivot Table's data fields.

You may not want to merge it in the main branch as is since it lacks automated tests, but it works for me.