support /history/latest

Ignore-this: 6bcc80b1ef3107cd4c74040ffa039571

darcs-hash:20141212012610-312f9-51561e51dd5e6ba9e2c5a5b1c079c16c30ccb506