Fix for issue 188 (preserving range when removing empty containers in class applier)

git-svn-id: http://rangy.googlecode.com/svn/trunk@799 88e730d5-b869-a254-3594-6732aba23865