Fixed CRM-14593. Patched Smarty to do pattern replacement in a non-deprecated way. Patch based on diff between 4.4 branch and master.

----------------------------------------
* CRM-14593: setup.sh fails due to deprecated use of preg_replace
  https://issues.civicrm.org/jira/browse/CRM-14593
CRM-11864 - CiviEvent: WYSIWYGs able to load only on click

----------------------------------------
* CRM-11864: Embed form-designer in event and contribution UIs
  https://issues.civicrm.org/jira/browse/CRM-11864
CRM-11864 - click for WYSIWYG fix for tinymce

----------------------------------------
* CRM-11864: Embed form-designer in event and contribution UIs
  https://issues.civicrm.org/jira/browse/CRM-11864
CRM-11864 - click out of clickable ckEditor destroys it and reverts
to preview.  Not supported for TinyMCE b/c I don't know if it will destroy itself

----------------------------------------
* CRM-11864: Embed form-designer in event and contribution UIs
  https://issues.civicrm.org/jira/browse/CRM-11864
For CRM-14593, copied unmodified Smarty_Compiler class to _ORIGINAL_.

----------------------------------------
* CRM-14593: setup.sh fails due to deprecated use of preg_replace
  https://issues.civicrm.org/jira/browse/CRM-14593
Merge pull request #58 from GinkgoFJG/4.4

Fixed CRM-14593. Patched Smarty to do pattern replacement in a non-depre...
CRM-14480 - Add Angular JS dependencies via bower
Merge pull request #63 from totten/master-angular

CRM-14480 - Add Angular JS dependencies via bower
fixed DB DataObject to save blob field types
Merge pull request #64 from kurund/CRM-14476

fixed DB DataObject to save blob field types
Merge pull request #62 from agh1/click-for-wysiwyg

CRM-11864 allow WYSIWYG to only load on clicking the preview
handle update for blob datatype, CRM-14725

----------------------------------------
* CRM-14725: Edit Case Type - Use AJAX load/save
  https://issues.civicrm.org/jira/browse/CRM-14725
Merge pull request #65 from kurund/CRM-14725

handle update for blob datatype, CRM-14725
Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-06-01-20-52-55
CRM-14353 - Remove references to global_formNavigate
Upgrade jQuery.validate to version 1.12
Merge pull request #67 from colemanw/validate

Upgrade jQuery.validate to version 1.12
CRM-14798 - Add angular-unsavedChanges module
Merge pull request #68 from totten/master-unsavedChanges

CRM-14798 - Add angular-unsavedChanges module
Update select2 to 3.5.0