Added miscellaneous intrinsics subroutines (rand, srand, time and
sleep).
Added associated unit test method.
Added string operation intrinsic subroutines (e.g. substr, trim, strlen
etc.)
Added associated unit test method.