Microsites alongside Theme

The logic is to first check that the request is not a microsite-request before choosing the branding templates from the theme.
According to this [same discussion](https://github.com/edx/edx-platform/pull/3495#discussion-diff-13184146) this was wacky.