more src/sim/common changes

- some files said in their commentary that they had to conform to K&R
C, so vendor in a copy of ansi2knr.c
- check for a few more things in the configure script
- more ifdef-ing
- more apostrophe-phobia
- formatting
- add a universal version of the top-level .profile_leopard (all that
is different is that it adds an extra arch flag)

Change-Id: Ib48912d745531acc399d3d7a806f10a7362b0086