Added method to update inventory piece by piece

Just for magento 1.7
logging refactored
refactoring
build 1.1.6