updated to support tables that are dynamically populated after attaching TableDnD (no need to manually call tableDnDUpdate()).
detect whether a row has been moved or not based on its rowIndex (removed need to serialize table every time a drag-n-drop is done).