JCR-3743 - fix for systems on which currentTimeMillis doesn't have 1 ms resolution (patch by Shashank Gupta)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1579912 13f79535-47bb-0310-9956-ffa450edef68