Detect tasks changes instead of apps changes

* apps change when you update the number of instances
* tasks change when an instance is modified

If you watch only the app, you will get only the old endpoints.
You have to wait for the new instance.
Use js-yaml instead yaml to parse the YAML files
Merge pull request #7 from MiLk/fixes/yaml-parser

Use js-yaml instead yaml to parse the YAML files
use String.indexOf() instead of String.search()
Merge pull request #6 from MiLk/fixes/5

Detect tasks changes instead of apps changes
use one config var to specify the reload command
Config structure
Generate the configuration file with a template instead of a bash script