fix infinite recursion in cmtk.targetvolume

* when a list object did not have an as.im3d method
* this included templatebrain objects when the templatebrian package was not loaded
* included test