add datetime and bignumber variant types to python and .NET. Fix datetime handling in database handlers