Octave and R shared_ptr typemaps update

Synchronize typemaps with other identical typemaps in Scilab/Ruby.
Adds some missing $disown support.
2 files changed