Improve gradle config

Specifies sourceCompatibility and version. Removes and ignores gradle's
cache folder.
Extract mime type related code to a separate project

Lives here: https://github.com/Doist/TodoistMimeUtils
Add test for registering/unregistering MediaParsers