template: update trigger, macro and items

* Add #jvm_memory_* information for discovery nodes
* New macro {$ES_MM} (mininum number of master nodes)
* New trigger if number of master of nodes < {$ES_MM}
* Do not collect data on non-data node