Use resolved resource to get at contents directly

Previously we weren't taking advantage of the async nature of
$resource's get, which was causing problems.
Add contenteditable to karma configuration
Add autosave to editor
Remove incorrect content type from test