Correctly parse composite primary keys on SQLite 3.7.16+

SQLite 3.7.16 changed the table_info pragma output to use
incrementing integers for composite primary keys, instead of just
using 1 for all of them.