Adding a "select call result" option when ending calls

This is to ensure that the correct call result is selecte when a
call is ended.  Previously "contacted" was the default selected item
which sometimes resulted in the incorrect call result from being
selected.
Adding a view-participant actions to interview and assignment view widgets
Merge remote branch 'origin/qa' into release
Adding new qnaire::get_prev_qnaire() method
Adding new appointment views

participant_last_home_appointment: the last appointment where user_id is not null
participant_last_site_appointment: the last appointment where user_id is null
Adding interviewer column to appointment reports
Fixing bugs in appointment report (timezones)
Removing debug statements
Fixing bug in appointment_report

Mantis issue 727:

No report is being generated if you selected yes for completed. No,does seem to work.

This was caused by incorrectly linking to the queue_has_participant table.
Adding new "id only" functionality to record::get_record_list() method

It is now possible to return a list of database primary IDs instead of
active records when calling record class' get_record_list() method.
This is much faster for calls that return a large number of records.
Fixing bug where withdrawn participants still had appointments

The appointment feeds and list were not restricting appointments to
those participants who do not have a state or negative consent.  This
patch fixes the problem by making sure the participants are in the
"appointment" queue.
Adding new "id only" functionality to record::select() method

It is now possible to return a list of database primary IDs instead of
active records when calling record class' select() method.
This is much faster for calls that return a large number of records.
Taking advantage of new *_idlist() magic method
Fix to previous commit (restricting appointments)

Instead of restricting appointment feeds to those participants in the
appointment queue the list will not include participants in the
ineligible queue unless the appointment is complete.
Fixing typo (self-resolving bug)
Minor tweaks
Replacing .htaccess file with .htaccess.sample
Ignoring non framework/app-specific files in the web/ directory