CRM-13833 fix, Soft Credit Type implementation for Contribution

Please check the description of the jira ticket to find the changes, in addition fixed a bug where on using any/all of the three stats filters without checking 'Soft Credit Amount Stats' display column throws DB error.