-- CRM-14632, removed hard-coded status filtering and also fixed notice errors.

----------------------------------------
* CRM-14632: Grant Statistics Report crash
  https://issues.civicrm.org/jira/browse/CRM-14632
Merge pull request #3153 from pradpnayak/CRM-14632

-- CRM-14632, removed hard-coded status filtering and also fixed notice ...