CRM-12994 fix and web test

----------------------------------------
* CRM-12994: Premiums Section disabled, yet asking for No Thank You Title
  http://issues.civicrm.org/jira/browse/CRM-12994
* CRM-12695-1:
  http://issues.civicrm.org/jira/browse/CRM-12695-1
* CRM-12695: Membership sharing doesn't work after merge
  http://issues.civicrm.org/jira/browse/CRM-12695
CRM-12788 MembershipBlock.tpl was missing the conditional to display multi-lingual popup for membership intro text and renewal text.

----------------------------------------
* CRM-12788: Internalization icons missing on Membership Tab in Contributions
  http://issues.civicrm.org/jira/browse/CRM-12788
CRM-13062 Fix various typos and obsolete admin menu paths.

----------------------------------------
* CRM-13062: Wrong texts in UI
  http://issues.civicrm.org/jira/browse/CRM-13062
CRM-11137, replaced old style windowpop with jqueryui dialog and also fixed the issue

----------------------------------------
* CRM-11137:
  http://issues.civicrm.org/jira/browse/CRM-11137
CRM-11137 fixed contact image to use jquery dialog

----------------------------------------
* CRM-11137:
  http://issues.civicrm.org/jira/browse/CRM-11137
CRM-11137, fixes for address custom data

----------------------------------------
* CRM-11137:
  http://issues.civicrm.org/jira/browse/CRM-11137
CRM-11137 set width:auto for dialog

----------------------------------------
* CRM-11137:
  http://issues.civicrm.org/jira/browse/CRM-11137
Code cleanup
CRM-12638 Fill prevNext cache only as needed

----------------------------------------
* CRM-12638: Optimize Prev/Next Cache and search interaction
  http://issues.civicrm.org/jira/browse/CRM-12638
CRM-12638 cache search count

----------------------------------------
* CRM-12638: Optimize Prev/Next Cache and search interaction
  http://issues.civicrm.org/jira/browse/CRM-12638
Cleanup
CRM-12638 only rebuild alpha pager when needed

----------------------------------------
* CRM-12638: Optimize Prev/Next Cache and search interaction
  http://issues.civicrm.org/jira/browse/CRM-12638
CRM-12638 Optimize filling prevNext cache and displaying results

----------------------------------------
* CRM-12638: Optimize Prev/Next Cache and search interaction
  http://issues.civicrm.org/jira/browse/CRM-12638
Fix multiple rows per contact CRM-12638

----------------------------------------
* CRM-12638: Optimize Prev/Next Cache and search interaction
  http://issues.civicrm.org/jira/browse/CRM-12638
fixes CRM-13050

----------------------------------------
* CRM-13050: cli.class.php doesn't import/export custom fields with multi-select values
  http://issues.civicrm.org/jira/browse/CRM-13050
Amend CRM-12995 fix

The regression introduced in 8bab0eb08b9862b49b02e914321bd15c0aca487e
(mismerge of patch for http://issues.civicrm.org/jira/browse/CRM-12172 )
was fixed in 14c8cdaa39005e0752e8beca670faa470b2147ce only partially.

This commit adds the rest of the necessary fix to fully undo the
original regression.

(Note: I have not really tested the effect of the amended fix, as I
don't know in what situations it shows -- I only discovered this in the
code while looking for another regression... It's a pretty obvious
change though.)
CRM-13098 don't do form layer redirects on BAO
And the correct way to refactor a form layer extension on the BAO (when you can be sure it's only called from one place
CRM-13072 fix getfields caching bug
CRM-13072 siginificant test cleanup - parent class changes per http://wiki.civicrm.org/confluence/display/CRM/Writing+a+PHPUnit+testcase+HOWTO