Switch from logrus to glog.

Signed-off-by: Victor Marmol <vmarmol@google.com>
Minor refactorings to fix build.

Signed-off-by: Victor Marmol <vmarmol@google.com>