apply @carlaschroder's changes from owncloud/documentation#594
Additional changes to config.sample.php and typo fixes