Media filename escaping, fixes #19
Motor can be installed normally now
Move Application definition to its own file
Image-upload test
Unused import