Merged in changes from
https://github.com/owncloud/apps/tree/master/user_saml
Come cleanup/restructuring - NEEDS CHECK
Upped version number to reflect that this is a fork of 0.4