Adding check for previous declaration of civicrmentitymetadata

Addresses issue #22 - if there's a better way to solve, super happy to see an alternative fix.