Let encryptFile and decryptFile accept 'success' and 'failure' callbacks.

- Updates crypto worker to post-back a callback with every error.
- Moves function resolution to miniLock.crypto.resolve.
- Removes janky miniLock.UI.showFileError = miniLock.crypto.workerErrorCallback from previous commits.