Merge pull request #266 from Chilledheart/backport-5

implement more file-related api requests
add some actions for context menu
if cancelled, don't continue to do the rename task
rename RenameDirent* to RenameFolder* and trim the input of new_name