Better incorporate ignored files

moved list of ignored files to a separate config file (config.json) and added function to read it (configFunctions.py)
added .gitignore
ignore all instances of .DS_Store (specific to mac), which originally causes a runtime error in Logbook.py