Fixing typo in test name.
Fix for the mktemp command on mac computers.
Merge pull request #87 from squaresurf/mac-fix-mktemp-for-bats

Fix for the mktemp command on mac computers.
Merge pull request #86 from squaresurf/fix-test-typo

Fixing typo in test name.
Remove coreutils from path before mktemp
Only use git version mock for top-level stuff
Test submodule cloning with mocked git < 1.6.5
Remove tempdir after quitting interactive test
This updates the homeshick check command to check for modified files.
Adds tests for modified homeshick test status.

This also moves the 'add a commit' logic in the `check a castle that is
ahead of upstream` test to a function so it can be repeated via DRY
principles.
Merge pull request #88 from squaresurf/check-for-modified-files

This updates the homeshick check command to check for modified files.
Also test exit status in check test suite
This means that the tests can partially run on machines
without expect installed.
Use double brackets to check git status output
Also use --porcelain switch
Add more tests for check (test adding folders)