Add better exception handling in new-build
When executing the install plan, the various failures are supposed to be caught and put into the residual install plan. This adds the main cases for that, including the configure and build cases. Download is still not covered. This is a step towards better reporting of what failed when there are failures in deps etc.