Use resourceful routing for docs and older versions can also be retrieved.
Added updated_at to document versions. Have to handle nil for updated_at.