CRM-14224 - CRM_Upgrade_Incremental_php_FourFour - Fix isValidWordReplacement()

The conditional was incorrect -- most likely an incomplete refactoring from
(eg isInvalid => isValid).
CRM-14967 fix redirect link
CRM-14971 - Contact image URLs should go through WP frontend

----------------------------------------
* CRM-14971: Contact image URLs broken in WordPress after upgrade to 4.4.6
  https://issues.civicrm.org/jira/browse/CRM-14971
CRM-14971 - CRM_Upgrade - Change backend image_URLs to frontend image_URLs

----------------------------------------
* CRM-14971: Contact image URLs broken in WordPress after upgrade to 4.4.6
  https://issues.civicrm.org/jira/browse/CRM-14971
Merge pull request #3633 from eileenmcnaughton/CRM-14967

CRM-14967 fix redirect link
Merge pull request #3647 from totten/4.4-wp-images

CRM-14971 - Contact image URLs should go through WP frontend
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()
Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-07-16-12-52-48

Conflicts:
	CRM/Contact/Form/Contact.php
	CRM/Profile/Form.php
	CRM/Upgrade/Incremental/php/FourFour.php
	CRM/Utils/String.php