add pad copy/move API functions

This pull request adds the ability to copy a pad (including full history and chat) or move a pad (i.e. rename).