CRM-14758 fix - API ( contact, create ) does not always create related membership

https://issues.civicrm.org/jira/browse/CRM-14758
minor fix
CRM-14948 Modification in names of Russian provinces.
add pseudoconstant on tests
CRM-14966 - ensure we have a contactid before inserting dashboard item.

----------------------------------------
* CRM-14966: inserting dashboard item using api from cli results in sql exception
  https://issues.civicrm.org/jira/browse/CRM-14966
fix test by using a different variable (one that is still, but shouldn't be, config only
add pseudoconstants for domain_id
Merge pull request #3632 from eileenmcnaughton/tests

add pseudoconstant on tests
CRM-14957
CRM-14965 - Fix Search Builder notice : Notice: Only variable references should be returned by reference in CRM_Contact_Form_Search_Builder->convertFormValues()

https://issues.civicrm.org/jira/browse/CRM-14965
CRM-14957
CRM-14964 - Session error on 'add activity to group'

https://issues.civicrm.org/jira/browse/CRM-14964
CRM-14952, fixes for sorting

----------------------------------------
* CRM-14952: Sorting on state in search throws FATAL error: Database Error Code: Unknown column 'civicrm_state_province.name' in 'field list'
  https://issues.civicrm.org/jira/browse/CRM-14952
Merge pull request #3640 from atif-shaikh/CRM-14964

CRM-14964 - Session error on 'add activity to group'
Merge pull request #3639 from atif-shaikh/CRM-14965

CRM-14965 - Fix Search Builder notice : Notice: Only variable references...
Merge pull request #3630 from jmcclelland/dashboard-api-cli

CRM-14966 - ensure we have a contactid before inserting dashboard item.
Merge pull request #3637 from jitendrapurohit/CRM14957

CRM-14957
Merge pull request #3620 from rohankatkar/CRM_14948

CRM-14948 Modification in names of Russian provinces.
Merge pull request #3641 from kurund/CRM-14952

CRM-14952, fixes for sorting
Merge pull request #3603 from monishdeb/CRM-14758

w.r.t. 44 fix https://github.com/civicrm/civicrm-core/pull/3623