Equilibrium and Dynamical Properties of the Boson Hubbard Model in One Dimension