Added tests for bad metadata.

Shows KSP-CKAN/CKAN-meta#182 .
Better handling (ignoring) of bad upstream metadata.

Closes KSP-CKAN/CKAN-meta#182.
Merge pull request #685 from pjf/handle_bad_metadata

Ignore rather than die on bad metadata.