CRM-14224 - CRM_Upgrade_Incremental_php_FourFour - Fix isValidWordReplacement()

The conditional was incorrect -- most likely an incomplete refactoring from
(eg isInvalid => isValid).
distmaker - Auto-create DM_GENFILESDIR, DM_TARGETDIR, $DM_TMPDIR
distmaker - Extract function dm_install_core()

Conflicts:
	distmaker/dists/drupal6_php5.sh
	distmaker/dists/drupal_php5.sh
	distmaker/dists/drupal_sk_php5.sh
	distmaker/dists/joomla_php5.sh
	distmaker/dists/wordpress_php5.sh
distmaker - Extract function dm_install_packages()
distmaker - Extract functions dm_install_drupal() and dm_install_drupal_info()
distmaker - Extract function dm_generate_version()
distmaker - Extract function dm_install_joomla()
distmaker - DRY common.sh
distmaker - Extract function dm_install_l10n()
distmaker - Remove dead code. Shift comments.
distmaker - Reduce noise in dists/*.sh
distmaker - Extract function dm_install_wordpress()
distmaker - Reduce noise in dists/*.sh

Conflicts:
	distmaker/dists/l10n.sh
distmaker - Simplify l10n.sh
distmaker - Extract function dm_reset_dirs(). Reduce noise.
distmaker - Reduce noise in joomla_php5.sh
distmaker - Demindfuckify joomla_php5.sh
distmaker - dm_install_wordpress - Should allow building on "wp-demo" (untested)
distmaker - Allow running individual builds without switching branches

One of the more annoying things with distmaker is that it switches all the
branches, which means that you need to commit everything before building.
This is necessary for building D6 & D7 in the same script, but makes it
harder to work on changes to builds.

With this patch, one can directly call the "dists/*.sh" files to trigger a
build, and it muck with git.  All the git checkouts are now specified in the
distmaker.sh
distmaker - Fix the *.info filter and apply it to all Drupal builds