Update SharedPtr to allow customization

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Merge branch 'master' of https://github.com/omegaonline/oobase