Fix optional parameters

Clean up output so extra columns are not added when they cannot be
calculated (e.g. when no earned config exists)
Complete refactoring of all warning generation code
Remove test for Product Items Planned For non Product iterations

mWallet team prefer to assign Story, Feature, EPIC to the iteration in
which the final Capability is completed.  Hence this warning generates
many false positives.