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
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-13112
CRM-12923, CRM-12943 - Track whether model changes have been saved to the server

----------------------------------------
* CRM-12923: Create HTML prototype of "Job Position" UI
  http://issues.civicrm.org/jira/browse/CRM-12923
* CRM-12943: Make HTML prototype of job UI functional
  http://issues.civicrm.org/jira/browse/CRM-12943
CRM-12923 - Add CRM.Backbone.trackSoftDelete

----------------------------------------
* CRM-12923: Create HTML prototype of "Job Position" UI
  http://issues.civicrm.org/jira/browse/CRM-12923
CRM-12943 - crm.backbone.js - Allow saving of CRM collections

Calling "collection.save()" will lead to "CRM.api(crmEntityName, "replace", ...)

----------------------------------------
* CRM-12943: Make HTML prototype of job UI functional
  http://issues.civicrm.org/jira/browse/CRM-12943
Merge pull request #1251 from totten/master-bb-issaved

CRM-12934 - Multiple Backbone updates
CRM-13121 - CRM.api - Always encode data with JSON

The query-string encoder misencodes empty arrays -- and most likely
misencodes other things.

----------------------------------------
* CRM-13121: CRM.api cannot call "replace" with empty list
  http://issues.civicrm.org/jira/browse/CRM-13121
Merge pull request #1256 from totten/master-crmapi-json

CRM-13121 - CRM.api - Always encode data with JSON
Fix group api to work with group_type param
Revert PR#980 Restore SOAP code CRM-12343

----------------------------------------
* CRM-12343: Remove Soap code
  http://issues.civicrm.org/jira/browse/CRM-12343
Fixed bug where delete membership task does not also delete related memberships. Created a new del method in Membership BAO.
Comment fix and using self:: for all on line 2153