started database functions; broken for now

writer of parse.py--please take a look at database.py. In it, I'll be implementing 6 functions:
This is a very rough explanation I'm just trying to comment better in git.

db_exists(dirname,filename) -- where dirname is the root directory of the project, and filename is hardcoded to be the name of that directory. So using ff on our root dir FlagFinder would look for a file named FlagFinder/.ff/FlagFinder-ff.db. Return 1 if present, 0 if not. Should probably check that it's a SQLite file as well but I'll implement that later.

entry_exists(project_rootdir, db_entry*) -- searches db for match, returns true or false (not done)
db_add_entry(project_rootdir, db_entry*) -- adds an entry to the db, with restrictions that I'll add later. 
db_retrieve(project_rootdir, search_query) -- retrieves the entirety of an entry based on search_query-- not implemented yet, this will be the big one

2 others, I'll write them later cuz its 5am and I don't know what I'm doing up so late.