Improved sendDebugInfo

Handles possibility that a service will handle a scanner intent, also
sends user preference order and system match value for scanner apps,
tidier output
Merge branch 'master' of https://github.com/Grunthos/Book-Catalogue