git checkout refactoring
adjusted grunt config
grunt config for pouchdb + dependencies, dialog bug fix for visibility