CRM-15236 fix related contact contribution reports to not give error when called without args

& add testing