Modified field query format, fixed a bug in search helper...

Also modified tests that use the helpers, and fixed some minor
issues.
Lazy representations in S3Resource.extract (i.e. datatables).
Minor optimization.
req_check supports multiple CTNs, req_send uses expiry_date or purchase_date or single consignment to help allocate which items to send
Merge branch 'master' of git://github.com/nursix/eden
Remove wrappermare for duplicates: more efficient & easier to debug. DAL-level validation for inv_inv_item.quantity so that missing CSV data is reported by importer rather than crashing on PGSQL
DAL-constraint insufficient - needs a default
Fix #1290.
Fix/Enhance/Optimise S3OCR; Sites can have a 'Last Contacted' field injected; Building Assessment model changes
Merge branch 'master' of git://github.com/nursix/eden
HRM Course, Job Title & Programme should be unfiltered for ADMIN & the organisation_id field visible
Lazy representations in XML exports.
Initial work on prioritylist widget for the facility needs form.
Merge pull request #317 from copiesofcopies/1199-clean

1199 clean
Modify the PriorityList widget
Commenting change
Removed global modifications to Array prototype; fixed prioritylist javascript
automatic search for wdiget in test suite
Merge pull request #321 from copiesofcopies/1199-fix-js

Removed global modifications to Array prototype; fixed prioritylist java...
Merge pull request #318 from aviraldg/complete-staff-report-tests

Modified field query format, and made other minor changes.