Specifically checks for base names of "." and ".." after symlink processing. This enables relative paths to be passed in that are terminated with such strings e.g. "/users/huntc/.." will correctly evaluate to "/users"
Merge pull request #28 from huntc/relcheck

More relative path checks for the bash script's realpath processing