CRM-12413 - Return an error when api-key does not have an associated CMS user

* CRM-12413: CiviCRM does not error on an api-key given through the REST interface that is not connected to a CMS user
  http://issues.civicrm.org/jira/browse/CRM-12413