From the inhomogeneous electron gas to classical force fields : a multi-scale model for ionic liquids