JS function to remove table rows

Core JS function, available to all modules.
Allow to remove rows with className from table, if not enough free rows.

Usage: core.rows.delete('className', 5, 1);

If there 5 rows with className on the page - remove last one.