Add sys.enableStrict(), make functions operate differently in strict mode

This changes the behavior of several functions, functions retain their old
behavior before this is used.