fs/Path: add methods GetBase() and GetDirectoryName()
decoder/gme: merge get_container_name() and get_song_num()

There is duplicate code in the two.
decoder/gme: simplify ParseContainerPath()

Use simple string and path parsing functions instead of GLib's
g_pattern_match(), which was used in a very clumsy way.