scanner: Review comments and flake fixes

- Move ScannerError to exceptions module.
- Subclass ScannerError from MopidyException.
- Fix import sorting.