load relevant javascript files on pages that need them
temporary fix for "upload from server" dialog

Since extjs has been dropped and we are not yet focused on Deploy
cleaning and rewriting, we just restored the ExtJS dependencies within
the plugin.

I've also just adapt some dialog javascript calls according to the new
jQuery UI dialog widget used in GLPI.
fix returncode checks form input

The javascript code has been updated with latest jquery methods and is
somewhat cleaner and more readable. There might be however still be some
work to do.
Work on static groups
Rename groups_id in plugin_fusioninventory_deploygroups_id in static & dynamic groups tables
Merge remote-tracking branch 'origin/0.85+tasks_redux' into 0.85/walid