Force TLSv1, as the Nest servers stopped allowing SSLv2 and even SSLv3.
Fixes #27
Added battery_level in device infos; thanks to Alan OConnor
Support for Nest Protect; getDeviceInfo() only for now, in addition to listing available Nest Protect devices in getLocationInfo()
Ensure cookie and cache files are secure (not group or world readable).
Fixes #29
Fixed typo in function signature. Fixes #30
Added where in getDeviceInfo() for thermostats

Added where in getDeviceInfo() for thermostats.
Renamed $protect_where_map to $where_map
Check that where_id property exists

Avoid Undefined property warning if where_id is not set on device
Merge pull request #31 from oyarzun/master

Adds where property in getDeviceInfo for themostats
use_cache function will always return false

Load the cache in the constructor if a cache file already exists otherwise $this->cache_expiration is never set.
Merge pull request #32 from oyarzun/patch-1

use_cache function will always return false