Merge pull request #119 from jfmorcillo/convergence_logicielle

pkgs: Fixes multiple calls to ajax file while using jqEasySuggest
msc: add type on msc.commands SQL schema
msc: Set type = 2 when adding convergence command
report: Fix other count
msc: Fix typo in SQL schema version number
msc: set correct start and end dates for convergence groups

Convergence creation:
    start_date: now()
    end_date: today at 23:59:59

Convergence edition:
    stop current command
    set end date to now() to this ended command
    create a new convergence command with start_date as now()
    set this new command end_date to today at 23:59:59
msc: set correct start and end dates for convergence groups

Fix previous commit: set end_date to now() + 24h instead of
today at 23:59:59
msc: Add deployment interval in audit view
pkgs: Fixes licenses count in getMachineBySoftware
pkgs: Hides the query fields if 'associate inventory' is not checked.
Some code refactoring