storage: Storages are not plugins

Move all storage-related components into src/storage.coffee
Remove unused Events mixin

The functionality provided by the events library (namely the triggerThen
function) has been superceded by the rather simpler
AnnotatorCore#runHook().
ui: Split UI module into separate files