CRM-14224 - CRM_Upgrade_Incremental_php_FourFour - Fix isValidWordReplacement()

The conditional was incorrect -- most likely an incomplete refactoring from
(eg isInvalid => isValid).
CRM-14971 - Fix resizing of contact images

----------------------------------------
* CRM-14971: Contact image URLs broken in WordPress after upgrade to 4.4.6
  https://issues.civicrm.org/jira/browse/CRM-14971
CRM-14986 fix DB error on date find + save
this is manefesting in the failure to save contributions, however, it has been a recurrent problem
that the format used for date fields on ->find does not match the requirement of ->save
hence we see in the ContributionRecur class 3 lines like
->modified_date = CRM_Utils_Date::isoToMysql(->modified_date);
which exist simply to format the date fields for re-save.
The end_date & next_scheduled_date were missed - resulting in fatals when this function
is used
It seems kind of crazy to keep solving this problem in the form & BAO layer
so this commit is tests only & there is a commit on the packages dir
that alters the DAO->update fn to check for the presence of a '-' & do the isoToMysql there
instead.
Merge pull request #3663 from eileenmcnaughton/CRM-14986

CRM-14986 fix DB error on date find + save
CRM-14986 add function comments as pointer as to why isoToDate fn may be over-used
Merge pull request #3664 from eileenmcnaughton/CRM-14986

CRM-14986 add function comments as pointer as to why isoToDate fn may be...
CRM-14888 fix - historical smart groups with membership status break on upgrade to 4.4

https://issues.civicrm.org/jira/browse/CRM-14888
CRM-14991 CiviContribute: add sort by date to contrib detail report

----------------------------------------
* CRM-14991: Sort contribution detail report by contribution date
  https://issues.civicrm.org/jira/browse/CRM-14991
Merge pull request #3660 from totten/4.4-imgsize

CRM-14971 - Fix resizing of contact images
Merge pull request #3671 from agh1/contrib-date-sort

CRM-14991 CiviContribute: add sort by date to contrib detail report
Merge pull request #3670 from monishdeb/CRM-14888

CRM-14888 fix - historical smart groups with membership status break on ...
Merge pull request #3538 from totten/4.4-wordrep

CRM-14224 - CRM_Upgrade_Incremental_php_FourFour - Fix isValidWordReplacement()
CRM-15032 - change 4.4.0.mysql.tpl to UTF-8 encoding
CRM-14997 - fix regression that caused Add Contacts to Group button to be ALWAYS hidden.

----------------------------------------
* CRM-14997:
  https://issues.civicrm.org/jira/browse/CRM-14997
Merge pull request #3741 from davecivicrm/CRM-14997

CRM-14997 - fix regression that caused Add Contacts to Group button to b...
CRM-15032 - change 4.4.0.mysql.tpl to UTF-8 encoding
CRM-13652 - Fix relationship api to process related memberships
Merge pull request #3737 from yashodha/4.4

CRM-15032 - change 4.4.0.mysql.tpl to UTF-8 encoding
Merge pull request #3744 from yashodha/CRM-15032

CRM-15032 - change 4.4.0.mysql.tpl to UTF-8 encoding
Merge pull request #3748 from colemanw/relMemberApi

CRM-13652 - Fix relationship api to process related memberships