Start defining a target library.
(core) Fix datetime conversion bug.

A timezone without summer-time should be used for the conversion since
not all LocalDateTimes are uniquelly representable.
(core) Tidying up the Each() Target
(core) Move the diff function, and rename it
(core) delete bunch of old code
Big re-vamp of the target library
(core) Fix some compiler warnings