Bug 1073842 - Move NativeObject manipulating methods into more appropriate files, sr=luke.