Added enhanced trailer sync code

Trailers are now also stored server side and validated in various ways.
Trailers detached from vehicles without drivers will just be reattached
(stops desync, prevents trailer theft).