HPCC-8572 Std.Date functionality

Time support added to Std.Date; new timelib plugin; stringlib modifications to support time; updated tests for new Std.Date functionality.
This is leftover from the original Std.Date code.  'year' is defined as an INTEGER2 there, and I just propagated that data type throughout the code.