Fix staging file delete links and view
Add DocumentVersion method that return if this version is the latest for a document
Use DocumentVersion's is_latest_version instead of obscure code