CH-1164 Added drush command to get segments

Also, added response code check to getSegments and more complete error handling/error reporting
Or you can run them from admin/config/development/testing and get nicer output ;) Just look under the Personalize group for Acquia Lift Profiles Unit Tests. (Make sure you have simpletest module enabled.)