The tail was "given to him" to by a friend at the academy, a Goblin Witch and specialist in potion making, she was practising a transmog potion with a little essence of goblin in it, and he's had a tail ever since.
As for the "beard laser", it's not coming from his beard, it's a fireball...