Reference.xs: Added shorthand(), is_tag() and is_note() methods

Adds a few extra methods that are useful, especially ```shorthand()```.