Changed logging to use glog library.

Also fixed versioning and added check for test image existence when running integration tests.
What I'd like to see still, is the possibility to redirect docker stderr & stdout to logger, as well as forcing glog to spit everything to stdout and not stderr as it is right now.

@csrwng @bparees comments welcome.
IIRC when parsing or condition reaching the first true condition stops further processing, so in the above case if `env` is `nil` then the condition immediately is `true` and we jump into the body of the `if`.