Add toString() method to Piwik\Segment for easier logging of Segment instances.
Make sure piwikApi.bulkFetch will check if a response is an error and handle it correctly. Add tests for that newbehavior and clean up JS style issues in dialogtoggler-urllistener-service.js.