Move prototype of evhttp_decode_uri_internal() to http-internal.h

Make it non static, that can be called from tests
Test: decoding just part of string with evhttp_decode_uri_internal()