Fixes #496

this fixes an issue where targetAttribute was not getting set in the extension properties as read from bower.json. This fix also allows any bower plugin to pluck arbitrary properties out of the bower.json and save that property in the plugin document.