Add paginationOptions to Ink.Table

When a table is initialized via JS (new Ink.UI.Table), the navigation, in the case where we want
pagination is created and initialized for us. But we may want to change something in it so this patch
allows to pass the pagination options to the Table so that when the pagination UI is created it can
have the options we want.
Use existing <nav> if not in markup mode

Currently, when in markup mode, when creating a table, it reuses the <nav> element right after the table.
This allows us to customize it (using classes) to our needs. If not using markup mode, it is never tested
for a <nav> element after the table so this patch just mimics the markup-style initialization.
Fixing maxTags check. EG. maxTags: 10 allowed 11 tags.
adding some docs
sync
Update bower.json
Fixing custom events
Merge pull request #230 from mariomc/fixCustomEvents2

Fixing custom events
better docs, less cyclomatic complexity
sync
InkElement.replace
Merge branch 'develop' of github.com:sapo/Ink into develop
not stopping the click event. It needs to fire on other toggles. (one-line change)
accidentally added aux
fixing several table problems (mostly from code duplication)
Correct typo in Ink/documentation/js-ui.html

jsut -> just
Merge pull request #231 from caitp/patch-1

Correct typo in Ink/documentation/js-ui.html
Performance improvement in setHTML (no need to use the fallback all the time)
docs, simplification
dropping the 'col_' prefix to table header indices