smalloc: check if object has external memory

Add HasExternalData API to check if Object has externally allocated
memory, and accompanying tests.
doc: fix few smalloc entries for proper formatting
src: remove unused import in cares_wrap.cc
Merge branch 'master' of github.com:joyent/node