Completes the add item interface

This commit fully implements the add item interface: searching for
items, selecting the item to add, setting the count, inserting into
the database, and showing the item in the view.