create new instances on demand otherwise instances and thus locations persist across the request
theme should mount only inside the theme directory
set the namespace before creating the handler
redirect to correct namespace
go back to using themebase
this was resetting the prefix and uploading to the root, use the created object insead.
Merge pull request #2024 from rossriley/fix-upload-to-namespace

Fix upload to namespace