Migrate "setsecurity.php" to the AppFramework

Add switch to enforce SSL for subdomains

Add unit tests

Add test for boolean values

Camel-case

Fix ugly JS
Merge pull request #11917 from owncloud/fix-11909

Add checkbox to enforce SSL for subdomains