Restructuring code from bin/logster into logster.logster module

This is so that other entry points can use logster methods without
having to go through the bin/logster CLI.

Change-Id: I2f724dd6ed0439399e428a3462c36057d0fc69a7