remove explicit class registration, minor whitespace fixes
Merge pull request #1449 from owncloud/activitiy-auto-classloading-and-coding-conventions

remove explicit class registration, minor whitespace fixes