Function createEnvironment

Creates an instance of TwingEnvironment backed by the passed loader.