Added installation of pymongo and fixed issues with optional dependency
      in salt-master service state.