Add a method to return the filename of a Path, stripped from the folders and the extension
Add tests for the getFilename method
Fix getFilename method

Note that for Unix hidden filename (no extension, starting with '.') the
method return the full filename.