Add routine to decode mime string.
Convert decoded header text to the desired charset/endoding.
Pass desired charset to mimeDecode class
Convert to desired charset when getting email parts.
Merge pull request #517 from protich/issue/508

Consistent decoding and transcoding to UTF-8 as anticipated by the rest of osTicket

Reviewed-By: Jared Hancock <jared@osticket.com>