Strip x- mime types before validation

I needed a fix for #286 as all my images were being rejected. It may not be the most elegant of solutions but it's a start, so thought I'd PR.

I've also removed x-{n} from the supported mime types array as these are no longer needed.