'ElectreIsDiscordanceBinary' adapted to the new data structure and
'alternatives vs profiles' scenario.

Changes in 'common.py':
* getting input data: better handling of optional/missing data, improved
  getting of categories_profiles
* serialization: added sorting for partials (i.e. per-criterion values)
  and determining type of the node (i.e. 'integer', 'real')