improve SeafileResource.getLastModified()

For objects of v1 repo we can get the mtime directly from the dirent.
Merge pull request #2 from haiwen/improve-get-file-mtime

improve SeafileResource.getLastModified()