Validate stored flavour in SetFlavourMiddleware.

Check to ensure that the flavour returned by flavour_storage is one of
the flavours in settings.FLAVOURS.  Ignore it if it is not.
Bump version.