Cleans up dependency listing in bower.json, copies some metadata from package.json.