CRM-13170, fixed select to show all batches

----------------------------------------
* CRM-13170: Search Contribution by Batch no longer works since change to DB
  http://issues.civicrm.org/jira/browse/CRM-13170
CRM-13170, fixed the query to respect batch criteria

----------------------------------------
* CRM-13170: Search Contribution by Batch no longer works since change to DB
  http://issues.civicrm.org/jira/browse/CRM-13170
CRM-13201 add hook to alter tpl file in use
Merge pull request #1386 from kurund/CRM-13170-fixes

CRM-13170, fixes for contribution search to respect batch criteria
-- fixed for CRM-13094

----------------------------------------
* CRM-13094: civicrm_contribution_recur schema inconsistent in fresh installs vs upgrades
  http://issues.civicrm.org/jira/browse/CRM-13094
CRM-13115 fix
Merge pull request #1395 from pradpnayak/CRM-13094

-- fixed for CRM-13094.
Ran upgrade from 4.2 and confirmed presence of UI_contribution_recur_payment_instrument_id constraint after upgrade.
Fix undefined function js error
Fix localisation error in DB upgrade script

The upgrade script for 4.3.6 has a hard-coded lookup for the 'Credit
Card' payment_instrument, but uses the (default) `label` column for the
lookup, which is localised -- i.e. the upgrade fails fatally on any
setup where the 'Credit Card' label is translated.

Fix by using the non-localised `name` column instead.
-- worked and fixed for CRM-13088

----------------------------------------
* CRM-13088: civicrm_contribution_product schema inconsistent in fresh installs vs upgrades
  http://issues.civicrm.org/jira/browse/CRM-13088
-- added missed constraint, fixed for CRM-13088

----------------------------------------
* CRM-13088: civicrm_contribution_product schema inconsistent in fresh installs vs upgrades
  http://issues.civicrm.org/jira/browse/CRM-13088
cleaned up membership edit/view to show associated contributions and also notices fixes
Merge pull request #1396 from pratik-joshi/CRM-13115

CRM-13115 fix
Merge pull request #1391 from eileenmcnaughton/CRM-13201

CRM-13201 add hook to alter tpl file in use
Merge pull request #1413 from sfe-ev/4.3.6-upgrade_fix

Fix localisation error in DB upgrade script
fix the webtest
fix pseudoconstant call reference to PCP form
Merge pull request #1417 from yashodha/webtest-fixes

fix the webtest
Merge pull request #1416 from kurund/membership-cleanup

cleaned up membership edit/view to show associated contributions and als...
notice fixes