Add insert method to Quantity

This is needed for #3011.  Before I write tests etc will this idea and implementation be acceptable?