Fix minor bug in setNativeEnabled

The implementation of setNativeEnabled previously had a hard-coded
value of `false`, and ignored the actual value that the caller
passed in.
Add accessors for `nativeEnabled` to ScriptingContainer
Merge pull request #1803 from cprice404/fix-set-native-enabled

Fix minor bug in `setNativeEnabled`, and expose it in ScriptingContainer