#noissue: Update gitignore file.
#noissue: Composer configured for installing phpunit only for dev purposes.
#noissue: Make private members.
#noissue: Include ownCloud interfaces for running unit tests with mocks.

Bad way but I don't find another solution at the moment.
#noissue: Begins unit tests.

I know, it isn't oriented TDD ;)