main: hide all the unix details, use the xcp library instead

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove config file parsing and logging code: both are in the xcp shared lib

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #4 from djs55/remove-dead-code

Remove dead code