Improve tasks

Hello,

Ive done some work for start task.
* Set environment for Rails, Sinatra apps
* Start in daemon mode with pid and log

And added stop task.

Hope that help,
Thanks