major bugfix for ref_counted, introduction of XTM

ref_counted blah blah

 - added the eXtended Templated Magic
added xtm things for member-function-pointers