Log both branches for less confusion, and a FIXME tagged along
More robust behaviour on build errors
More accurate descrioption of command line options
Refactored and provided some regression tests for script.

Argument parsing was broken, and was generally run more than once.
A light weight test to verify correct detection of failed and
successful builds was added.
platform argument is a space separated list
Clearer argument list description and values.
An attempt at building stuff