Changed logging to use glog library, fixed versioning and added check for test image existence when running integration tests.