bug fixes in the npruntime.

    Fixed memory allocation bugs that cause crashes within the browser.

    With NPAPI, we MUST use the NPAPI memory allocation routines when inserting
    elements into the DOM.  This is because we need to insure that we allocate
    memory from the correct memory pool.  If we use regular malloc or new, we are
    allocating memory from the NPAPI memory pool which is not available
    to the browser.  We must allocate memory from the Browsers memory pool
    to allow the browser the means to free the memory when it cleans up the DOM.

    Failure to do this will result in a crash.