Increment version number for each document request

This fixes updating documents. Ideally, in order to have a better control over document version, there should be an interface to provide an explicit version number, till that interface is provided, document version can be incremented for every doc request using `Time.now.to_i`