fix, PEBKAC, kick double definition of logger and double decl of error() in both logger.h and daemonise.h

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'feat/quo' into next

* feat/quo:
  fix, PEBKAC, kick double definition of logger and double decl of error() in both logger.h and daemonise.h
Merge branch 'next'

* next:
  fix, PEBKAC, kick double definition of logger and double decl of error() in both logger.h and daemonise.h
  minor, clone quo-tws into ox-tws
  minor, clone quo-tws into pf-tws
  minor, externalise detaching stuff (detach()) into daemonise.[ch]
  minor, externalise logging stuff (error()) into logger.[ch]
  chore, call global error() upon error() or winError() or connectionClose() in quo wrapper
  minor, split wrappers into aspects, IB's api doesn't allow us to change the wrappers during runtime
  minor, make error() function extern so wrapper code can call it
  minor, upon fini_tws() wipe the slot in our context so subsequent calls to fini_tws() would succeed
  fix, PEBKAC, allow fini_tws() to be called twice in a row, conditionalise on TWS_PRIV_CLI()
  chore, cosmetics, adhere to 4-letter debugging codes
  minor, don't request current time ourselves (and don't make it a condition for the status)
  minor, make sure the EWrapper client thing in the tws_t object is non-null for a state query
  fix, PEBKAC, only start the reconnect timer if there's none active at the time
  fix, PEBKAC, close sockets when trying connect() in tws_sock()
  minor, perform tws connection through state machin upon PREP
  minor, provide error() function that uses logerr as destination
  chore, fix, add twsapi libs via LDADD for quo-tws as linkers complain about missing symbols
  minor, actually keep a convo up, calling tws_send() on PREP and tws_recv() on BANG