Migrate to a single attachment table

That way we don't need a new table for everything we need to attach an
inline image to (like a signature, for instance)