drop user environment before executing pre and post commands

It is best to get rid of environment as completely as possible.  The PATH
is set because shells tend to dig missing item from an initialization
file.

Reference: http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/environment-variables.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>