Add support for parameterised ticket fetches, and add support for timesheet fetches

This patch adds support for ticket fetches in 'hash' format, so that we can do filtered ticket fetches. So far as I can see, this should work correctly, but our use has been limited to only a few specific types of fetches.

It also adds support for fetching timesheets from Freshdesk.

Thanks for the useful library!