Convert readonly select_nodes_from_bbox to use a prepared statement

Fixes #68 for the readonly backend