Fix URL encoding for WolframCommandHandler

Original implementation of the query URL only worked when it didn't involve a + symbol. This *should* fix it.