updating .gitignore
updating app so posts and puts now work for mongo as well as mysql