Clean up output buffers between tests.

Some of the tests I was running were erroring with a deprecation
warning. That was happening inside a Smarty template and the Smarty
stuff makes heavy use of ob_start and friends. When an error happens
inside an ob_start, the corresponding ob_end_clean isn't happening and
somewhere else in phpunit the output gets flushed. This causes the
output to get flushed to the screen which messes up the display of the
results of running phpunit.

This fix has us clear out all of the output buffers (if any) in the
tearDown for every test. That seems to fix this problem.
batch entry for pledges
spacing issues
line and spacing issues
QA fixes
Entry form optimization
Minor fix
Minor fix-2
Merge pull request #1 from manishmore/master

batch entry for pledges
Merge remote-tracking branch 'upstream/master' into pledge-batchentry

Conflicts:
	CRM/Upgrade/Incremental/sql/4.6.alpha1.mysql.tpl
CRM-15713 - Case ajax fixes
Activities Report - sort by Activity Type does not work and throws fatal if Section Header checked
CRM-15701 QA-fixes
Merge pull request #2 from manishmore/QA-fixes

CRM-15701 QA-fixes
Webtest Fixes
Merge pull request #4691 from webaccess/pledge-batchentry

CRM-15701: Pledge payment batch entry
CRM-15701 - Change label on batch type, title and column header. Also new generated.mysql.

----------------------------------------
* CRM-15701:
  https://issues.civicrm.org/jira/browse/CRM-15701
CRM-15713 - CRM_Case_BAO_Case::accessCase - Split off from getCases().

This allows us to explicit control over more parameters (eg case_status_id)
and to improve performance (by focusing on the specific $caseId).
Merge pull request #4725 from rohankatkar/Tests

Webtest Fixes
Merge pull request #4728 from davecivicrm/CRM-15701

CRM-15701 - Change label on batch type, title and column header. Also ne...