CRM-14224 - CRM_Upgrade_Incremental_php_FourFour - Fix isValidWordReplacement()

The conditional was incorrect -- most likely an incomplete refactoring from
(eg isInvalid => isValid).
CRM-14758 fixes for 4.4

----------------------------------------
* CRM-14758: API ( contact, create ) does not always create related membership
  https://issues.civicrm.org/jira/browse/CRM-14758
Test fixes
Merge pull request #3623 from monishdeb/CRM-14758-44-fixes

CRM-14758 fixes for 4.4
CRM-14967 fix redirect link
fix in test suite - mistype
Merge pull request #3634 from eileenmcnaughton/4.4-tests

fix in test suite - mistype
revert minor data change in test suite
Merge pull request #3635 from eileenmcnaughton/4.4-tests

revert minor data change in test suite
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