Document and programmically generate shortcuts

Also finish documenting the rest of the functions.
Add missing shortcut file
as.character method for regex objects