Database changes made for auto increment

(Hopefully) all the database changes have been made to accommodate SQLite auto increment of the Primary Key.
Auto increment complete

Autoincrementing now works for the barcode.  It required a few more changes to the database (although not the schema at all), and then some user interface tweaks.
Merge branch 'feature/auto_db_pk' into develop
Merge branch 'develop'