Merge pull request #733 from stianst/master

KEYCLOAK-701 Use built-in themes if specified theme is not found
Workaround for WFLY-3345 so logout can work for 'distributable' applications
Merge pull request #734 from mposolda/master

Workaround for WFLY-3345 so logout can work for 'distributable' applicat...
KEYCLOAK-662 NPE when using direct grant API with email as username