MDL-39216 url: new moodle_url tests for valueless params
MDL-39216 url: updated tests to show desired outcome
MDL-39216 url: moodle_url now handles empty param values properly