added device_info endpoint, deprecation warnings for endpoints removed in v3 of the API, and the option to use v3 endpoint for push