Elgg/Elgg — pull request #7006 by mrclay (2014-07-03 03:47:27+00:00)
Title: fix(upgrade): test for ability to connect to localhost if rewrite test fails

(this PR replaces #6962 - fixes commit msg)

Fixes #6888