Split DetectMimeFromFilename into two functions
Split DetectMimeFromFilename into two functions

There is now one that just tests the file extension and one that analyzes
file contents.

Also removed the error it returns as this library should not be doing file i/o

generaltso/linguist