Add table alias to Space scopes
Fixed possible XSS injection during installation (thanks to Ole Aass)