refactor RestManager and added app friends discovery with fb/ab/contacts