Implement optional extension removal in path.basename
Merge pull request #411 from cehoffman/path_basename_ext_rm

Implement optional extension removal in path.basename