eSign module modifications:

 -Turned on form esign as default
 -Added option to hide empty esign logs in the patient report (default is on)
Fix PHP Error when no code type filter is specified
Security fixes for pre-authentication cross-site scripting vulnerabilities
removed fancybox 2 and fixed bug in encounter level locking
changes after review
changes after review