Improve pointer-like template wrapping

Using "wrap-pointer-as" informs the wrapping code that the type-template
wraps another type as a pointer and can be retrieved via the code in the
attribute's value.

This implies "redirect" if it is not set and also adds implicit
conversion to Python's None if the pointer is null.
Add a 'const' in the reinterpret_cast
Add conversion to python None in the C++ to Python copy conversion function
Merge branch 'wraps-pointer-as-attribute' into smtk-head

* wraps-pointer-as-attribute:
  Add conversion to python None in the C++ to Python copy conversion function
  Add a 'const' in the reinterpret_cast
  Improve pointer-like template wrapping
Add test for wraps-pointer-as inheritance
Support adding a base class to a metaclass
Store the pointer argument index
Output base class information piecemeal
Make wraps-pointer-as inherit over the wrapped type

This marks ptr<B> as inheriting from ptr<A> if B inherits from A and
ptr<T> is marked as wraps-pointer-as for T.
Check the baseClasses variable for its size

Checking the baseClassNames for its size is pointless since everything
is run off of the size of baseClasses anyways.
Set the base class if it is not already set
Use the qualified name of the base class
Mark a metaclass which has injected dependencies
Sort classes with injected dependencies
Look up full names when sorting
Merge branch 'wraps-ptr-as-inherit' into smtk-head

* wraps-ptr-as-inherit:
  Look up full names when sorting
  Sort classes with injected dependencies
  Mark a metaclass which has injected dependencies
  Use the qualified name of the base class
  Set the base class if it is not already set
  Check the baseClasses variable for its size
  Make wraps-pointer-as inherit over the wrapped type
  Output base class information piecemeal
  Store the pointer argument index
  Support adding a base class to a metaclass
  Add test for wraps-pointer-as inheritance
fix a compilation error in mac

This is actually a work around for a known gcc bug
Merge branch 'dev/fix_mac_comp_error' into smtk-head

* dev/fix_mac_comp_error:
  fix a compilation error in mac
Remove output to cerr that looks to be left over debugging code.
Correctly assign m_handle to ptr.