Add a batch details tab in product history dialog

This will allow us to find out what batches are available for a given
product.

Also make the batch solumn in the other tabs visible if the product has
batches

Fixes: http://bugs.async.com.br/show_bug.cgi?id=5645
Change-Id: I2f8a379d3e2e6e20060a1e0c5cccaec7ed442adb