Include package data. Fixes #13
Set resource filenames when publishing pending resources

There is a unique constraint on the module_files table for
(module_ident, filename).

Publish pending resources was failing because filename was not set.

Fix #15
Address order of data insertion concerns that would otherwise break reference resolution and make it difficult to do various validations that require database interaction.
Merge pull request #19 from Connexions/fix-publish-pending-resources

Set resource filenames when publishing pending resources
Merge pull request #14 from Connexions/package-manifest

Include package data. Fixes #13
Add license validation and exception to publication failure message. Addresses #12
Handle always adding the content model, even on validation failure.
Add/revise exceptions for missing, invalid roles and license. Addresses #21
Propogate the exception upward on failure to capture and persist.
Add functional test for responding with publication exceptions. Addresses #18
Merge pull request #23 from Connexions/issue-12

Introduces validation handling and exception message propagation. Fixes #12
Merge pull request #24 from Connexions/issues-12-18-21

Addresses Issues #12 #18 and #21
Test case for publishing a revision. Depends on #17