use better ext regexes

No need to match entire string, just the end.
Ignore case.
See http://jsperf.com/regex-match-all-or-end-only
Merge pull request #55 from jordanbtucker/better-ext-regexes

Support mixed case file extensions