Including solvent-mediated interactions into the Poisson-Boltzmann theory : doctoral dissertation