config-vhost-apache: fixed several small bugs

fixed several small bugs on parameter, variable and includes handling and on
replicating information.
+ metadata storing and reading for restore-vhost*

both libexec/restore-vhost and bin/restore-vhost-subsystem now create and read
vhost metadata information.