[FIX] web_kanban_gauge: bunch of implicit globals in JS code
Merge pull request #926 from xmo-odoo/master-cleanup-gauge-xmo

Fix implicit globals in kanban_gauge JS
[IMP] raise exception when a DB request fetches ids it was not asked for

Likely caused by a type incoherence e.g. providing an id as string when the
table uses integer ids. Postgres performs an implicit conversion from string
to integer[0], this wasn't much of an issue in the old API, whatever cache was
there would simply not be used, but because the new API's cache is part of its
behavior it has a semantic impact and can lead to infinite recursion.

[0] more precisely from quoted value, which is untyped
Merge pull request #967 from xmo-odoo/master-id-type-xmo

Raise exception when a DB request fetches ids it was not asked for