Added checking is last commit on branch is submitted on p4, resolves #4