Moar useful error message

On error this will give us all the information returned
by the API -- things like the debuginfo hacked in field
that adam added.

Change-Id: I38df5121e42875f1aba3a7a2f00b109e2c44227d
Merge "Moar useful error message"
Make queue2civicrm_import accept messages in many formats

Change-Id: I04dd2f3b1d1f0771584769589f0e60f3cacb79e0
TODO: this is stupid.  Consolidate this structural normalization.
drush commands to interpret JSON files as messages and feed to *_import functions

Change-Id: Ia31230b15ee89bc6e783f51c346b1dfc948b91dc
PHPUnit tests under Drupal

Sadly, we still require that the environment is already configured with MySQL,
that schemas have been installed, and modules enabled.

This patch makes it simple to write new PHPUnit tests.  If your test is self-
contained, extend the PHPUnit_Framework_TestCase class as usual.  If you need
to bootstrap Drupal, access a databases, or call into other modules, please
have your test extend BaseWmfDrupalPhpUnitTestCase.

TODO:
* There is no transaction on the database.  We need to allow two modes, the
default being to rollback changes made during each test.  In debugging mode,
changes will persist so you may examine them manually.

Change-Id: Ibc90555de8fc910c5435d2b0ca83691f51498939
Merge "PHPUnit tests under Drupal"
update thank-you templates

Change-Id: Ic2f3078aa9db178ab420562154041976eb66c79d
Merge remote-tracking branch 'origin/master' into HEAD

Manually removed tests during merge.

Change-Id: I85098fe1308d4f96f6d8ef26d34eba766f3bd5db