Use varchar(12) for isin

An isin is defined as an identifier with 12 places. No need for a more
abstract data type. Also, text is not a suitable type for a primary
key on other databases as sqlite.
Add documentation. Move korma entities to db.core namespace.