remove forced lowercase from extension, fix #4747

Fix https://github.com/owncloud/core/issues/4747, clear up confusion.

Please review @purigarcia @owncloud/designers 
(Also includes some coding style fixes.)