Removed testing print message in main loop.
Fixed some issues with the database module.

- Made sure the ID column autoincrements.
- Catch the error when a record cannot be found in the product search
  function.
Changed input for search type to a number instead of typing a name.

- Also removed obsolete testing variable.
Merge pull request #7 from jmoreman/dev-jmoreman

Fixes for some issues