DDF-154: Code added to CatalogContentPlugin.java to set the resource size attribute for generateMetacard method.

Also, nested the if statement where the uri is set so that all non-transformer specific attributes are set in the same place.