Address order of data insertion concerns that would otherwise break reference resolution and make it difficult to do various validations that require database interaction.
Add license validation and exception to publication failure message. Addresses #12
Handle always adding the content model, even on validation failure.
Merge pull request #23 from Connexions/issue-12

Introduces validation handling and exception message propagation. Fixes #12