Added isProduction flag to control whether or not stats get sent

Usage would be something like:
```
$sh = new StatHat($p1, $p2);
$sh->setIsProduction(getenv('STATHAT_IS_PRODUCTION') ? getenv('STATHAT_IS_PRODUCTION') : FALSE);
```