added support connecting to multiple database server

added support connecting to multiple database server. A loop is used in .profile to write to multiple database config files. dataAccess.js maintains a databaseMapping between database and servers.
deployment.sh and heroku.sh now export a list of database configuration variables, instead of 1.