ignore php storm files
add ability find document revision

also update delete document to lookup the revision automatically