Moves provenance creation into createEntity function
Merge pull request #21 from larsssono/master

Provenance convenience