Adding DISTINCT keyword to get_record_list and get_record_count record methods

This commit will also fix the progress report which was broken in this version
Further fixes to progress report
Making changes to sample report

New column added listing home appointment users and coordinators have been
granted access to the report.
Modifying transaction/semaphore system

The session now handles semaphores to ensure that transactions are
completed before a semaphore is acquired.
Fixing bug in participant tree (language selection)

The language selection dropdown was not configured correctly in the
participant tree template.
Adding uid to token attributes
Adding email address to appointment list pull operation (for Onyx)
Minor bug fixes to queue

- making sure that times are in HH:MM:SS format (was HH:MM)
- converting HOUR intervals to MINUTES to avoid rounding decimal numbers
Merge remote branch 'origin/release' into develop