Added checks to tabletools to make sure that it stays within the current table

Fix for http://dev.ckeditor.com/ticket/9944 "insertcellbefore and insertcellafter in nested tables is incorrect"