Deletes device object with given rid

            http://docs.exosite.com/portals/#delete-device

def delete_device(self, rid):
        """
            Deletes device object with given rid

            http://docs.exosite.com/portals/#delete-device
        """
        headers = {
                'User-Agent': self.user_agent(),
                'Content-Type': self.content_type()
            }
        headers.update(self.headers())
        r = requests.delete(    self.portals_url()+'/devices/'+rid, 
                                headers=headers,
                                auth=self.auth())
        if HTTP_STATUS.NO_CONTENT == r.status_code:
            print("Successfully deleted device with rid: {0}".format(rid))
            return True
        else:
            print("Something went wrong: <{0}>: {1}".format(
                        r.status_code, r.reason))
            r.raise_for_status()
            return False