added option to pass in bower.json file path and name instead of dependency object, because this may change during a bower task and then it's pointing to the old object, so always read the latest version from disk