Updated HAML and fixed dependencies

I updated the HAML gem, and fixed the dependencies so that everything still works.