Support for dynamic tables

Library did not work for tables whose content change during the application lifetime.

Switched all the TR event bindings to '$(element).on' event bound to the parent table. 
Additionally this reduces the number of event callbacks from N per row to N per table.

One potential issue: if table contains another nested table, "getTableRows" and "getSelectedTableRows" functions will return wrong results.