Support both php-cli calls and php-http calls.

from the web:      nest-get-data.php?datatype=daily    or    nest-get-data.php?datatype=current
from the cli:    php nest-get-data.php daily     or  php nest-get-data.php current
Merge pull request #2 from mgillespie/master

Support both php-cli calls and php-http calls.