Make sure that l_archivedir, when it exists, is accessible and empty before creating subdirectories for the standby.
Also show WARNING if l_archivedir exists and is empty.
Add support for 2 new parameters: pg_hba_conf_failover and postgresql_conf_failover, that will play the same role as former pg_hba_conf and postgresql_conf. Parameter names w/o the failover suffix  will be repurposed to copy configuration files when the standby enters the standby mode (-S), since those files are not rsynced from the primary.
Copy configuration files for both normal and failover standby.

On the normal startup, postgresql_conf and pg_hba_conf options are
used. For the failover, it switches to the _failover counterparts.
In both cases, cmd_standby only attempts to copy files that exist
and readable.

Additionally, when no_copy_conf is set, add an option to use
pg_hba_conf file.
import * is considered a bad practice (and actually led to conflicts with the built-in open function).
Workaround for the problem of pg_ctl being sensitive to the -o string when it includes config_file option.
Fix a typo.
Fix a typo.
command-line options are space-sensitive, sigh, fixed last problem preventing no copy conf to work.
Check against the options.failover and not just some unitialized variable.
Refuse to failover if postgresql_conf_failover and/or pg_hba_conf_failover files are not set.
Merge pull request #27 from alexeyklyukin/master

Address a couple of minor pitrtools issues