The Duke of York and Virginia Giuffre have reached a 'settlement in principle' in the civil sex claim filed in the US, court documents show.