Support custom site logo

* Add ImageField "logo" to Instance model
* base.html logic to load it
* Add safety code to imageUploadPanel.js
* Create reusable MediaTest superclass for tests which use file storage