Replace + in pattern names with space

Per http://qt-project.org/doc/qt-5/qurlquery.html#handling-of-spaces-and-plus, QUrlQuery does not replace + with space. Many HTTP client libraries (including Python requests) will encode spaces to plus in URL parameters, resulting in a mismatch on patterns with spaces in the name.