Remove show/hide functions from install template CRM-10773

----------------------------------------
* CRM-10773: Clean up legacy js functions
  http://issues.civicrm.org/jira/browse/CRM-10773
CRM-12877, towards report instance api

----------------------------------------
* CRM-12877: Provide api for creating report instances
  http://issues.civicrm.org/jira/browse/CRM-12877
CRM-12965 more cleanup and fixes
CRM-12965, worked on form building and postprocess
Merge pull request #1046 from colemanw/showHide

Remove show/hide functions from install template CRM-10773
Merge pull request #1079 from kurund/CRM-12965

CRM-12965
Fix array_search notice from null array in CRM_Core_Permission::event
Merge pull request #1080 from davecivicrm/eventPermissionNoticeFix

Fix array_search notice from null array in CRM_Core_Permission::event
Merge pull request #1083 from deepak-srivastava/reportsapi

CRM-12877, towards report instance api
CRM-12877

----------------------------------------
* CRM-12877: Provide api for creating report instances
  http://issues.civicrm.org/jira/browse/CRM-12877
Merge pull request #1084 from deepak-srivastava/reportsapi

CRM-12877