The takeover of department store operator David Jones by South African retail group Woolworths Holdings has been given the go-ahead by the Federal Court of Australia.