Core: clearTableBody function now detachs rows instead of the tbody