Added missing submission type attribute

Bulk actions performed offline were missing a value for this attribute.
We're adding it for consistency and completeness. Includes data migration
code.

Pick note: When this commit was picked from Evernote fork it suffered some
changes, like replacing the migration with code in the upgrade system, and
thus increasing the build number.
Added ALLOWED_HOSTS to the template development settings
Make tipsy tooltips fully opaque
sorttable.js can perfectly deal with multiple thead rows

(assuming the first thead row contains the actual headers and the others contain non-sortable 'header' entries)
Use CSS selectors for even/odd row coloring in translation table

Conflicts:
	pootle/static/css/style.css
	pootle/static/js/editor.js
Under Windows, the "nl_langinfo" method is not available
Show spinner in the middle of edit row
Use try/except instead of checking the function existence
Simplified code, use `get_for_path()`

Conflicts:
	pootle/apps/pootle_translationproject/views.py
Retrieve common export view context in a reusable way

Conflicts:
	pootle/apps/pootle_translationproject/views.py
Cleanup: Remove unused import
pootle_translationproject: Fix a migration
pep8: silence new E265 for block comments

pep8 v1.5.0 introduces E265 block comment should start with '# '.  Since
we blanked selected E26 we got E265 as soon as it landed.  We have too
many errors in Pootle related to this, mostly where code has been
commented out.  Some should be cleaned up but there is a conflict churn
issues that we'll hit with this.
signals: Fix unit_updated signal when there is no fuzzy unit
pootle_store: Add database cache columns for wordcounts and suggestion count
pootle_store/caching: Update total_wordcount on Unit.save()
pootle_store/caching: Update wordcounts when creating a new Unit
pootle_store/caching: Update Store caches when saving an existing unit
pootle_store: Get rid of calc_*_wordcount
commands: Update refresh_stats to actually refresh stats