templates: %{ticket.phone} shows the entire number

Previously, due to a bug in Ticket::getPhone(), the first digit of the
formatted phone number was displayed only. This patch will allow display of
the entire formatted phone number.

Fixes osTicket/osTicket-1.8#248
Merge pull request #250 from greezybacon/issue/248

templates: %{ticket.phone} shows the entire number

Reviewed-By:  Peter Rotich <peter@osticket.com>