Change NativeError inheritance to match ES6
Change NativeError inheritance to match ES6

For example, TypeError constructor's internal prototype is the Error
constructor rather than Function.prototype directly.

svaarala/duktape,markand/duktape,harold-b/duktape,svaarala/duktape,markand/duktape,svaarala/duktape,markand/duktape,markand/duktape,svaarala/duktape,markand/duktape,harold-b/duktape,svaarala/duktape,harold-b/duktape,harold-b/duktape,svaarala/duktape,markand/duktape,svaarala/duktape,markand/duktape,svaarala/duktape,harold-b/duktape,harold-b/duktape,harold-b/duktape,harold-b/duktape,harold-b/duktape,harold-b/duktape,markand/duktape,markand/duktape,markand/duktape,svaarala/duktape