use shared_ptr almost everywhere
Merge branch 'master' into cython_shared_ptr2
Merge pull request #18 from js850/cython_shared_ptr2

cython shared ptr