Move CommonMiddleware after Locale
Move CommonMiddleware after Locale

In reference to LocaleMiddlware, the docs say:
"
 * Make sure it’s one of the first middlewares installed.
 *It should come after SessionMiddleware, because LocaleMiddleware makes use of session data. And it should come before CommonMiddleware because CommonMiddleware needs an activated language in order to resolve the requested URL.
 * If you use CacheMiddleware, put LocaleMiddleware after it.
"

qedsoftware/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq