[CB-2501] Supported content URIs in getMimeType.

This requires a call to ContentResolver.getType, which means getMimeType needed to be amended to take a CordovaInterface.