Adding mimes detector class

It's should be useful - when someone will want to develop app that also serves static content, it will help him with the determining of the mime types.
Currently I'm using it, but I'm thinking of better ways to do it, but for now its does the job pretty well.