Fixed bug where any filename not ending in a token would return an empty string. Additionally, fixed bug where extension would be added to filename. Also added additional FileNamePurifierTest unit tests.