Switch to ubuntu 14.04 and postgresql 9.3