Fixed a bug in forkOn implementation. The capability number suggested is
modded with the numCapability from the RTS. Added an assertion in
rts/Threads.c to catch such a error early.

Added separate profile.h to ease profiling ChameneosRedux. Changes to
Makefile.