Fix EZP-22147: Use the template URI instead of manually building the URI with query parameters

JIRA issue: https://jira.ez.no/browse/EZP-22147

# Description

This PR replaces #39 with the following changes:

* moves `src/structures/UriTemplateParser.js` to `src/utils/uriparse.js` as it's not a structure
* simplifies the uriparse module to only export a function
* added unit tests for the new modules

# Tests

manual tests + unit tests