Implemented error handling of github failures

+ added some logging into vcs

Closes bug 1213182

Change-Id: I0fdc497e2fc078da626f757452bb881e2d8e5bfb
Merge "Implemented error handling of github failures"