Merge pull request #391 from mikexstudios/receive-predir-fix

Fix edge case: app directory is created before first app push
Submodules support
Added submodules test
Merge pull request #370 from jazzzz/submodules

Submodule support
Merge branch 'master' into myupdated

Conflicts:
	HISTORY.md