BLD: fix a number of Bento build warnings.

c_misc was first added to includes for all modules, not just when needed.

Also update .gitignore for missing generated _ellip_harm_2.h file.

[ci skip]