Add {buffer,mode}-set commands

For setting config variables for modes and buffers. Also print out
current values in the prompt.