Alarms for dimensions that contain spaces (like hostnames)
aren't displayed if we simply remove spaces from the dimension
values. URLs are already encoded and spaces get translated
properly in get_relative_url() in views.py.
Change-Id: I576c9ed7fb62acfb2c7cb8f84360438d82dafbaf
Closes-Bug: 1492003
(cherry picked from commit 7a90587fdc)