AJS-7 waiting for document to be ready to show the install notification
publishing
Merge pull request #14 from Temasys/AJS-7-refactor-waitfordocumentready-and-

Ajs 7 refactor waitfordocumentready and