Use prepared statements in readonly for selecting objects from lists of other objects
Use a prepared statement for readonly nodes in bbox

Fixes #68 for the readonly backend