Fixed bug in trigcoeffs causing the incorrect coefficients to be returned when the number of coefficients requested is even.
Added tests for even number of coefficients.
Merge pull request #1328 from chebfun/fix-trigcoeffs-even-number

Fix for trigcoeffs bug when even number coefficients requested