Add OnPasteClipboard method to CGUIDialogKeyboardGeneric
fixed compiler warnings, unused vars
fixed compiler warning, missing return value
fixed compiler warning, comparision always false due to limited type
Add and test paste on OSX
Merge pull request #3029 from jhsrennie/keyedpaste

Add OnPasteClipboard method to CGUIDialogKeyboardGeneric
[osx] fixed, compiler warning about deprecated routine