XE-1298: Spaces macro doesn't list spaces that contain a colon in their name
* Fix also the xwikivars.vm template which was causing the same exception to be logged.