Smart OS support

This patch makes zfSnap compatible with SmartOS (running in the global zone).

* Use the correct version of `grep`
* Implement `date2timestamp` for Solaris without GNU `date`