add LAST-INSERT-ROWID. specify class for OPEN-DATABASE

Add function LAST-INSERT-ROWID and an AUTOINCREMENT-MIXIN to set the id
of a persistent instance automatically.
Make :MODE and :CLASS keyword arguments in OPEN-DATABASE and
WITH-OPEN-DATABASE.
Make OPEN-BLOB a generic function so that it can be used with
persistent classes.