Remove lots of things not needed for rrdd

Signed-off-by: John Else <john.else@citrix.com>
Moved code from ocaml/utils/ to lib/ for now

Signed-off-by: John Else <john.else@citrix.com>
Move rrdd code

Signed-off-by: John Else <john.else@citrix.com>
Remove rrdd interface code - it'll be moved to xcp-idl
Remove rrdd_test.ml since it doesn't do anything

Signed-off-by: John Else <john.else@citrix.com>
Remove a load of unneeded scripts

Signed-off-by: John Else <john.else@citrix.com>
Remove Rpc_retry - equivalent code is in xcp-idl

Signed-off-by: John Else <john.else@citrix.com>
Rewrite Makefile, add obuild file

Signed-off-by: John Else <john.else@citrix.com>
Use standard xcp function for dealing with config file

Signed-off-by: John Else <john.else@citrix.com>
Remove more references to Fhs

Signed-off-by: John Else <john.else@citrix.com>
Import some constants from xen-api

Signed-off-by: John Else <john.else@citrix.com>
Import a fistpoint from xen-api

Signed-off-by: John Else <john.else@citrix.com>
Use the standalone inventory package

Signed-off-by: John Else <john.else@citrix.com>
Stop using xapi's user agent

Signed-off-by: John Else <john.else@citrix.com>
Import a switch from Xapi_globs

xapi itself never uses this.

Signed-off-by: John Else <john.else@citrix.com>
Import rrd location, blob location from Xapi_globs

Signed-off-by: John Else <john.else@citrix.com>
Import https_port from Xapi_globs

Signed-off-by: John Else <john.else@citrix.com>
Import pool_role_shared.ml from xen-api

xapi doesn't use this, but it's identical to pool_role.ml

Signed-off-by: John Else <john.else@citrix.com>
Handle hashtblext interface change

Signed-off-by: John Else <john.else@citrix.com>
Don't open Monitor_types module

rrdd doesn't use it for anything.

Signed-off-by: John Else <john.else@citrix.com>