added narrowed list of accepted file extensions and fixed broken unit tests
added new unit test for wrong file extensions
Fixed small typo
Merge pull request #3953 from Wikia/MOB-1886

MOB-1886