Support separate cqm and amc rules sets (2011 and 2014) with some amc rules added, take 3.

Added following amc 2014 rules, which already existed and were same as 2011:
170.314(g)(1)/(2)–4
170.314(g)(1)/(2)–5
170.314(g)(1)/(2)–6
170.314(g)(1)/(2)–9
170.314(g)(1)/(2)–11
170.314(g)(1)/(2)–12
170.314(g)(1)/(2)–17

On quick analysis, here is listing of amc rules that still need to be completed:
CHANGED RULES:
170.314(g)(1)/(2)–7
170.314(g)(1)/(2)–8
170.314(g)(1)/(2)–10
170.314(g)(1)/(2)–13
170.314(g)(1)/(2)–15
170.314(g)(1)/(2)–16
170.314(g)(1)/(2)–18
NEW RULES:
170.314(g)(1)/(2)–19
170.314(g)(1)/(2)–20
170.314(g)(1)/(2)–21
170.314(g)(1)/(2)–22
UNCLEAR IF CHANGED OR NEW RULES(definitely not the same, though):
170.314(g)(1)/(2)–14

Also on discussion with ensoftek, appears need to have a mechanism to report
the patients that do not pass the rules along with reason why not pass.
MU2 rebase to allow review with brady's suggestions incorporated.

MU2 related change to open the education site from reminders section

a14-Patient list creation
Changes at search section and fix to the sort by functionality.

Changes against MU2 item: a13-Family health history

MUOII-12: a11 Smoking Status - display SNOMED code description alongwith the smoking status

Changes against d9-Accounting of disclosures

Changes against d4-Amendments

Changes against d2-Auditable events and tamper-resistance

Copied new tables

Fixes against Brady's suggestion
fixes for prior commit (MU2 stuff)
Fix in prior commit when php mycrypt not installed.(MU2 stuff)

Forcing enable_auditlog_encryption to be turned off if try to turn on in globals
when php mycrypt not installed. Otherwise, it will break OpenEMR when turn this on.
Need to either find a substitute for mycrypt or detail how to get it to work during
intallation.
Added Time to the date control at Log report
Time added to the date control at Clinical Report
Ensoftek:MU2: Clinical reports: Communication display in the report.
              Immunization: Added Expiration Date column
fixes for prior commit
Implemented the following changes at Clinical report as per the Vamsi's request
- show data based on the below check boxes.
fix to prior commit
Fixes
- diagnosis code was not displaying
- communication sorting
- sort by diagnosis title, drug, lab results
fix for prior commit
Changes to the Clients>Clinical report
New sort fields to sort by Allergies and Medical Problems as per the requirement came up during the MU2 certification
Also refined the sort order for Communication field
fix to prior commit
Implemented the following functionality for MU2 - §170.314(a)(12) Image Results

1. Provision to tag the encounter to the uploaded document at patient/documents page.
2. Display the links to uploaded tagged documents in the encounter page.
3. Display the links to uploded tagged documents in the past encounter page.
4. New menu option "Documents" at Patient demographics left menu to view the documents uploded to the "Lab Report" category
5. Provision to preview the uploaded document as a tooltip at above Documents page.
fixes for prior commit - moved Documents menu item to Procedures->Lab documents
Add Finnish language
CDR engine report itemizations (includes automated numerator recording for MU2).

 The following globals control this feature (on by default):
 -Administration->Globals->CDR->Enable Standard Report Itemization
 -Administration->Globals->CDR->Enable CQM Report Itemization
 -Administration->Globals->CDR->Enable AMC Report Itemization
Provision to send email with attachment of the patient document from patient documents page
fixes to prior commit