Reorder last line of trig functions table

With this change, now each column corresponds to a family of functions.
Also, fixed typo in base/bitarray.jl
Merge pull request #3145 from waldir/master

Reorder last line of trig functions table