Remove table_field.js with hardcoded constants.

Move js-code to the html template and use values inside TableWidget
class instead of hardcoded constants. This commit introduces new attrs
for 'table' field: minValue, maxValue (relate to minimum and maximum
number of nodes) and maxSync (maximum number of nodes in sync
mode). Also UI definition in metadata repository needs to be changed.

Closes-bug: #1239763
Change-Id: Idce8ca960c7de14072b0ce7ff1431dc4a738e4ef
Merge "Remove table_field.js with hardcoded constants."