Fix bug when reloading the database

Now instance maps are correctly reset when file is rescanned (but this should not happen in the final product)
Add resetDatabase method

resetDatabase() will delete all instances in the database.
This would make LogicTest easier
Return search and view results to menu

Change the result of search and view to be return to menu instead of
printing straight from Logic class
Merge remote-tracking branch 'origin/create_logic'
Merge branch 'master' into interface