Remove unused code.
Check environment setup.

'pgsql-archlog' get a new command "check" for checking if it can perform
transaction logs with supplied configuration parameters.
Regress: wrong logic error during status checking.
Merge branch 'master' of https://github.com/inteos/pgsql-plugin

Conflicts:
	pgsql-fd.c