Atom entry fix

Only add link elements for linked data when both @rel and @href
attributes have data. Duh.
Better recording of errors

Don't need @type for linked data in link elements