Port cilantro/ui/tables/* to JavaScript

Signed-off-by: Don Naegely <naegelyd@gmail.com>
This is not necessarily unless `itemViewOptions` is being called externally.