Specify log format through an environment variable

Conflicts:

	lib/server.js
Merge pull request #33 from LocalData/logging

Specify log format through an environment variable