Critical Edition api integration related fixes.

This pull request fixes an issue that prevents chrome from displaying an annotation in shared canvas upon first creation, and when creating an annotation with no 'type', it creates a new entry in the annotation list pane that has no label and can't be expanded