add method toremove duplicates from array users and profiles for push notifications
refactor test for push profile
refactor test for push notifications and add new CustomHttpCode
Merge pull request #482 from lupatellimatteo/pushProfile

remove duplicates from users & profiles array for push notifications and more