Support  for custom key bindings in CUA

Added support for custom key bindings in CUA, with a configuration example showing how to use it. Code written by Dmitry Ivanov; I added some comments and tested it.