Filter file uploads by extension
Turned off colored output in the default phpunit config.

Not everything supports color (e.g. `watch` doesn't); you can always
enable color using phpunit --color, but you can't disable colored output
this way, and phpunit isn't smart enough to detect whether its stdout
understands color escapes.
A unit test for the getExtension function. Just because.