Handle QueryError exceptions in rosie lookup and go.
Fix whitespace and more helpful docstring.
Add handling for QueryError to rosie ls.
Merge pull request #878 from arjclark/fix.rosie-invalid-server-crash

rosie: handle QueryErrors and invalid prefix values