updated to work with new api and nexmo

Added nexmo argument.
Updated urls to use api_href
Pointed everything to api.pulsepod.io
Cleaned up the formatting to conform to pylint/pep8