Add library search_env_filtered

Provides a search that automatically applies an "env_filter", i.e. doing
a search against the correct proposal. To make this work,
nova/db/database_instance had to move to nova/database_instance (in line
with _all_ other *_instance entries in JSON files).