Mock the ActivityManager so we don't interfer with core apps
Merge pull request #188 from owncloud/issue/187

Mock the ActivityManager so we don't interfer with core apps