Support custom site logo

* Add ImageField "logo" to Instance model
* base.html logic to load it
* Add safety code to imageUploadPanel.js