Use HUDService to access webConsole (tested) and browserConsole (not tested yet).

Improve getText for firefox webConsole (not tested for other use cases).
Edited in scratchpad, needs indentation review.