db: fixed up api
*: migrated to new api
*: database api updates
db: sql: transition to full-text search tables
db: api: updated api to include search
*: move to updated api
db: fixed errors involving insertions
friends: make item search code work
Merge branch 'database-api'