Fix webui load outside of Firefox extension

Test for availability of 'firefoxAddOn' global correctly
during initialization.
Trigger a refresh of vault items when the view loses focus

This provides a simple way to refresh the view by hiding
ahd re-showing the panel in the Firefox extension

A better approach would be to use the notification service
that Dropbox provides to monitor for changes.