Extracted logger to separate module

Also, renamed bot-mate.js -> botmate.js as @pwisenhunt suggested