Frontend: quote " and ' properly in /exec

We can't pass quoted ' to sh thus we need to use " quoting instead.
Engine: fixed reading more than a single command from hooks
Merge branch 'stable'