[#master] Tests for method 'getPlainStatus' was written.
[#master] Added comment for method 'getPlainStatus'.
[#master] Fixed typo.
[#master] Added a few new tests.
[#master] Add new test.
[#master] Added method 'detectFiles'.
[#master] Added new tests.
[#master] Added a few comments.
[#master] Added repository.js and spec.
[#master] Added a few tests. Fixed catch-callbacks. Added remove of mocks after testing.
[#master] Added a few new tests.
[#master] Added comment to method 'isRepository'.