fix for issue #41 and minor refactors for DRY

fix for issue #41 
right now if at least one hhvm build is not allowed to fail, the result will be TESTED.