fix bug 1084003 - repair migrations after attachment split

This moves back three of the original wiki migrations into the wiki app and adds a new initial migration to the attachments app that renames the tables.
It also backfills the south history table to remember those three migrations (since they are still effectively applied).
The wiki app has a new empty migration that only depends on the last migration of the attachements app, so that migrating the wiki app will run the attachements app migration first.

This also gets rid of old schematic migrations that have been applied before by running the schematic command.
Some new South migrations were added as the result of that (as replacements):

  - a new data migration in the devmo app that tries to create a default site object.
  - an initial and a data migration for the feeder app (both faked during deploy)

The migration in the users app that deleted the old and unneeded user profile related tables is not handled by exception catching, for initial setups of an empty database.

The script that is run on the dev server during deploy has been modified to run the appropriate migrate command to reset the database there.

The chief deploy script has been modified to *only* run the appropriate migrations when the deployed git tag is "attachments-split-cleanup" since chief runs the script from disk, not after it has pulled from git.

The puppet manifests have *not* been updated and instead migration steps will be provided via email to the users with a current develoment environment. The steps are:

	python2.6 vendor/src/schematic/schematic migrations/
	python2.6 manage.py migrate feeder --delete-ghost-migrations --fake --noinput
	python2.6 manage.py migrate wiki --noinput
	python2.6 manage.py migrate --noinput
bug 1080877 - Update terms template to match new and 10th ann design
Merge pull request #2877 from darkwing/fix-terms

bug 1080877 - Update terms template to match new and 10th ann design
Bug 1082798: Update test name to be consistent

Update the name of the homepage search box test to be declarative like
other test names.
Bug 1082798: Split out header and footer tests

We still load the homepage to run these tests, but we organize them into
more specific categories. This will help us find and update tests,
enable/disable related tests, determine which parts of the interface are
most problematic, and more.
Merge pull request #2907 from openjck/bug-1082798-organize-tests

Bug 1082798: Split out header and footer tests
Merge pull request #2908 from openjck/bug-1082798-declarative-test-names

Bug 1082798: Update test name to be consistent
fix bug 1097163 - added Afrikaans, Xhosa and Zulu to list of supported languages
Fix bug 1098194 - Move config_lazy helper to demo models module to prevent circular import.

This happens since the utility requires importing the FIELD list from the constance app, which triggers the population of the Django app cache, which imports other models and voila you have a circular implicite import error.

This would not happen when using modern Django.
BUG 1087015: Demos - popup

Added the demo studio style sheet to the pop up to change the background color to be white.

This introduced a few problems which I then tried to correct. (box-shadow and margins).

Couldn't test locally, tested by adding compiled local style sheet to the popup on production.
Merge pull request #2911 from jezdez/bug1098194

Fix bug 1098194 - Move config_lazy helper to demo models module to prevent circular import.
Bug 1082798: Test that header search box contracts
Merge pull request #2912 from stephaniehobson/BUG-1087015-demos-popup

BUG 1087015: Demos - popup
Merge pull request #2910 from jezdez/bug1097163

fix bug 1097163 - added Afrikaans, Xhosa and Zulu to list of supported languages
Merge pull request #2850 from jezdez/bug1084003-2

fix bug 1084003 - repair migrations after attachment split
Get rid of temporary migration code.
Merge pull request #2909 from openjck/bug-1082798-search-contract

Bug 1082798: Test that header search box contracts
Bug 1100643 - Remove.b2g class from styles as it is no longer in use (corresponding macro template has been removed)
BUG 1086941: Remove Flame ads

Remove customCSS that was there to support flame ads.
Merge pull request #2917 from stephaniehobson/BUG-1086941-remove-flame-ads

FIX BUG 1086941: Remove Flame ads