Reimplemented scripts using mini_require.

The downside is that mini_require is very simple and some libraries
require a few changes to be compatible.
AdvancedCriteriaBox: Iteration 1

It’s not still usable for the grid. Just OK for standalone filter box.
Added options normalisation for Grid.

Currently, the only supported options are DataColumns and Columns.
Added GridTable as view manager for table's tbody.

Also made a few minimal css changes to show active row.