Several improvements for the filter by name in spaces/index

Cleaned up, added tests, pt-br locales for select2, better standard css for
select2, set and tested permissions.

refs #877