adding table.clear() command (removes all items in a table).

Also added docs/test case.

Thanks!