send void json esx response when nothing planned

We should send an error only if there is a real error.
fix typos
clean spaces
add IDs list filter capability

This hook allow us to do IDs search like "ID contains 1,2,3,...".
This should not break the initial filter's behavior.

I've also set ID searchopt to number for consistency.
reformatted code + removed some logDebug
fix CommunicationRest class

- get only task asked by the agent
- add missing getParameters() needed for deploy tasks
- make lowercase the task comparison
add task field to ESX methods
add a draft of the common getJobs function

This will and should be used by every task classes in the future.
remove logDebug occurence
rename correctly deploycommon class

also drop the require_once since we merged modules as one plugin
just TODO comments
errors and permissions enhancements

Edition is denied when tasks are only running and not just active
Merge remote-tracking branch 'fusinv/master'