Fixed model identifier saving.
Fixed determining column types.
Merge pull request #9 from kenmyrs/savingModelId

Fixed model identifier saving.
Merge pull request #10 from kenmyrs/typeOfColumnFix

Fixed determining column types.
Catch some sqlite errors we were previously missing.