Added quick access to related document(s) when viewing a message that has any.
Moved diagnoses from orders to individual procedures.
Modified patient report to include complete lab results.
Improvements in problem lists for MU2.

1) Added a new field "modifydate" in table "lists" which
   will be updated each time the medication is updated.
2) Added new field "ct_problem" in the table "code_types"
   for setting the code types to be displayed while
   adding a "Medical Problem".
3) Made modifications in Add/Edit issue interface to list
   the code types set as "ct_problem".

Signed-off-by: vinish <vinish@zhservices.com>
Integrating the problem list improvements with the recent fee sheet improvements, take 3.
incremented version database for previous commit
Additional Sql-injection functions and techniques for escaping;

 1. Improved/clarified the functions in library/formdata.inc.php
 2. Added mechanism for whitelisting openemr sql table names.
 3. Added mechanism for whitelisting openemr sql column names.
 4. Incorporated it into the messages module
 5. Incorporated into dictation form
 6. Incorporated into work/school form/note