func_channel: Add CHANNEL(onhold) item to get the current hold status of the channel.

It would be useful to get the current hold status of a channel.

Added CHANNEL(onhold) item that returns 1 (onhold) and 0 (not-onhold) for
the hold status of a channel.

ASTERISK-24038
Reported by: Matt Jordan

AFS-113 #close
Reported by: Mark Michelson

Review: https://reviewboard.asterisk.org/r/3983/


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@422870 f38db490-d61c-443f-a65b-d21fe96a405b