Ganeti modularization part1 with minor fixes and enhancements

Fixes and part of Ganeti salt modularization efforts.

Please review @dpavlin 

Thanks!