Init database on first run

Added feature for pyTalkManager to run the db.dbinit method when it's the first time it runs. Added a few other things as well. Check the commit messages for more information.