MULE-6968: Http endpoint with path="" or path="/" do not attend requests at root level

Added a test and fixed behavior when query string params are received in the root address.
(cherry picked from commit 73afadd)