Allow rename folder to other parent

This pull request closes issue #2.

Because [my previous pull request](https://github.com/detochko/MailSo/pull/1) is not yet merged, it is also included.