changed print statements to use logging, and added logging where we see exceptions
Merge pull request #391 from shatterednirvana/add-logging-to-datastore-server

Changed print statements to use logging