chore(tests): Replace calls to require.toUrl with FunctionalHelpers.toUrl, a function that makes adding query parameters to a URL more readable.

@zaach and @vladikoff - could you guys give this a review?

As part of the "broker" PR, I am using the "automatedBrowser=true" flag to ensure the tests don't stall. I went ahead and refactored the functional tests to always pass "automatedBrowser=true" when running the functional tests.

Is this sane?