Fixed an instance where write_roles_ini was getting called without the client. Also added a few lines to the .gitignore so that I can work with the code in my prefered dev environment.