Send image_id and prodstates to applyDataMap, and remove nested transaction
Fixes code based on review of PR24
Fix doc string typo
Remove trailing space
Factor prodState into the utils library
Merge pull request #25 from zenoss/feature/ZEN-11772

Send image_id and prodstates to applyDataMap, and remove nested transaction.  Fixes ZEN-11772.