Add API for monitoring recompiles.

Hello @dpup, 

Please review the following commits I made in branch 'nick-recompile'.

99a2d9445ffc8ce3ca9aa500bcd189e93aadd88b (2013-11-01 16:36:07 -0400)
Add API for monitoring recompiles.

Check list:


R=@dpup