add tests for new 'which' remote helper

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
create a new 'which' helper to find executable paths

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
use the new helper in 'which_service'

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
removed lsb module

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ignore the remoto/lib path

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
move the choose_init module to hosts

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
remove another function in favor of new 'which' helper

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Merge pull request #140 from alfredodeza/6353

Do not rely on `which`, ever.
add a note about  for tmp files

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>