TIMOB-12930 Make env-accepting type conversion functions.
TIMOB-12930 Switch to using env explicitly in converter calls.
Merge branch 'master' into timob-12930
TIMOB-12930 Update the tempate to pass along env; add inline functions to handle env-less primative conversions as a result.
TIMOB-12930 Removing redundant casts, stoppering up memory leak.
Merge pull request #3933 from BlainHamon/timob-12930

Timob 12930 - Reduce redundant checks on env