Issue #378 XSS in members search

Fixes #378 - User supplied search query was not sanitized before ouput.
Merge pull request #390 from jgknight/develop

Issue #378 XSS in members search