SQLAlchemy integration

Oh, nice, this'll be useful. One of the features I keep forgetting I need to add (but which should happen!) is a page of "items linked to this one".