Add vim, TernJS, and database-related gitignores