Added getURL function to client
further cleanup, added sendRequest function to make PUT POST and GET request
Added get and put methods in mojio client and updated device saving to use the new methods
Updated other methods in client to use get and put methods