db: switch level dependency to levelup + leveldown

This is a first step towards making search-index fully browserifiable. See #20.

Note that currently version of levelup at the time of this writing depends on
leveldown@0.10 (not 1.0).