Updates deployment script and adds a .gitignore

Did some really elementary changes to aid me in working with the django 1.4+ support. 

They might as well be helpful for future deployments.