add (-G | --basic-regexp) option

With this option, metacharacters in search patterns are treated as
literals.
make two test helpers
running outside a repository shows typical git error message
git-substitute version 1.3.0