Fixed format and content for API curl examples

Per my comment in the forums last night, the examples on the start page were misleading for using the device name instead of the device ID. I also changed the format of the curl command for the temperature example in order to make sure the page doesn't have horizontal scroll on smaller screens.