Remove unused functions; change to lager.

Remove a series of unused functions, and change io:format calls to use
lager.  Default to the lager_console_backend.
Merge pull request #11 from SyncFree/features/csm/lager

Remove unused functions; change to lager.