[cleanup] fix inkscape issue with svn --> png when build docs is disabled and remove
refinement.hh and virtualrefinement.hh.