added hamlet-mode

taken from https://github.com/lightquake/hamlet-mode