create a common helper module

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
add the ceph version check for all distros

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
add log formatting for non-color handlers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
use the BASE_FORMAT for file loggers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
Merge pull request #28 from alfredodeza/5617

log `ceph --version` when installing 

Reviewed-by: Gary Lowell <gary.lowell@inktank.com>