Try and access APIs, if we fail, log then quit.

This patch addresses the 2 main cause of cron emails from the reporting
scripts.  It's at theses 2 points in the program when errors occur
mostly.

Change-Id: Idda3362d9714053284e7d755b53b205110d3679e
Require pip >= 1.2 when building a package

PIP < 1.2 has a bug in the parse_requirements function so it will fail.

Change-Id: I403a024f6c8f48ab78b74870dba05506f07a5f9f