added jshintrc
added sample local.js
fixes for grunt
using -association- branch of postgress adapter