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.
Changed the getStyle to use document.defaultView.getComputedStyle instead of window.getComputedStyle, when available, to fix any issues regarding performance ( http://stackoverflow.com/questions/9377639/too-slow-when-getting-current-style-on-chrome-using-javascript )
Removed useless files
Moving feature detection to a higher scope. Reducing the if conditions slightly.
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
fixing oldIE which has no String.prototype.trim()