CRM-13014 support userLoginFinalize() for UF classes (fix civimobile)

Conflicts:

	CRM/Utils/System/Base.php
Remove specific code for upgrade from 2.0 to 2.1
notice fixes
removed unwanted db call CRM-13078

----------------------------------------
* CRM-13078:
  http://issues.civicrm.org/jira/browse/CRM-13078
CRM-13078, added a check to validate the contact id if value is set for that particular row

----------------------------------------
* CRM-13078:
  http://issues.civicrm.org/jira/browse/CRM-13078
Fixes towards CRM-13107. This commit fixes create and edit modes. View mode is still broken (displaying field ID instead of LABEL).

----------------------------------------
* CRM-13107: Individual Prefix, Suffix and Gender fields are broken in Profile Create, Edit and View
  http://issues.civicrm.org/jira/browse/CRM-13107
-- worked on CRM-12844

----------------------------------------
* CRM-12844: Automated recurring contribution "civicrm_line_item" records have wrong financial type id
  http://issues.civicrm.org/jira/browse/CRM-12844
--worked on CRM-13060

----------------------------------------
* CRM-13060: Changing the Financial Type for Contribution pages and Events does not update the Financial Type selected for Price Sets and Price Field values
  http://issues.civicrm.org/jira/browse/CRM-13060
Merge pull request #1232 from pradpnayak/CRM-12844

-- worked on CRM-12844
CRM-13105
CRM-13108 - Fix warning in CRM_Utils_File::findFiles (from rubofvil)

Note: According to http://php.net/glob, the return result varies by
platform; sometimes it returns array(), and sometimes it returns FALSE.
The patch should work with either case.

----------------------------------------
* CRM-13108: Warnings when extensions is installed
  http://issues.civicrm.org/jira/browse/CRM-13108
CRM-13108 - CRM_Utils_File - Performance fix

----------------------------------------
* CRM-13108: Warnings when extensions is installed
  http://issues.civicrm.org/jira/browse/CRM-13108
Merge pull request #1237 from totten/4.3-find-files

CRM-13108 - CRM_Utils_File - Fix warning
Merge pull request #1233 from pradpnayak/CRM-13060

--worked on CRM-13060
Patched and tested - price_set.financial_type_id is now also set when creating and updating financial type under Manage Events.
Refactor search builder js to better handle different operators CRM-13032
Start the session on rest.php, so it avoids impossible to find side effects. Trust me, I lost hours on that one: civi needs a session.
Semi-fix {ts} usage: the mix of js/smarty here isn't very practical. Will be fixed when the js is split out in a separate file eventually.
Merge pull request #1244 from mlutfy/4.3-ts

Semi-fix {ts} usage: the mix of js/smarty here isn't very practical.
CRM-13057

----------------------------------------
* CRM-13057: Replies to mailings processed through SOAP are failing
  http://issues.civicrm.org/jira/browse/CRM-13057
Merge branch 'CRM-13014' of git://github.com/eileenmcnaughton/civicrm-core into pull-request-1139

Conflicts:
	CRM/Utils/System/Base.php
	CRM/Utils/System/Drupal.php
	CRM/Utils/System/Drupal6.php

Also: Update comments

----------------------------------------
* CRM-13014: CiviMobile fatal on non-d7 -Need a UF function for login authenticate
  http://issues.civicrm.org/jira/browse/CRM-13014