CRM-12288

1. Added patches manually from https://github.com/civicrm/civicrm-core/pull/325 (as the PR can't be merged cleanly) except the code w.r.t "$default_country_code='44' which i'm assuming will be fixed as part of CRM-12291.

2. Fixed install and migrate / upgrade scripts (with multilingual) considering 'Inbound SMS', 'SMS delivery' and 'Outbound SMS'.

3. Also fixed twilio extension (in addition to clickatell) to consider $userID.

4. Made fixes to address php fatal error (php 5.4):
PHP Fatal error:  Call-time pass-by-reference has been removed in /home/deepak/gitrepos/civicrm/CRM/Core/BAO/CustomGroup.php

Which was also responsible for drush extension installation failure.

5. Fixed errors halting upgrade to v4.4.alpah1 (in CRM/Upgrade/Form.php).

----------------------------------------
* CRM-12288: Improvements to SMS interactions when using mass SMS and Clickatell
  http://issues.civicrm.org/jira/browse/CRM-12288