Fetch revision data on expanding a document

… lets us update buttons. Also make use of "status" in _revs_info

Fixes #277