test fix - set globals in main setup function rather than ad hoc
Merge pull request #3503 from eileenmcnaughton/CRM-14866

test fix - set globals in main setup function rather than ad hoc
CRM-14852 - add access CiviCRM to access argument to various paths.

----------------------------------------
* CRM-14852:
  https://issues.civicrm.org/jira/browse/CRM-14852
Merge pull request #3504 from davecivicrm/CRM-14852

CRM-14852 - add access CiviCRM to access argument to various paths.