Support case-insensitive table names in sqlite migrator. Fixes #466