add rename to allow js-git to move complete files into place

As requested here is the git-chrome-fs changes.  I wrote up my own test page to verify it is able to rename files.