Adding frequency for shepherd profiling

Hello eford, 

Please review the following commits I made in branch 'azulus-profiling'.

7e44b5841409626cf5272bb8201156e6b3a0b5e1 (2013-03-12 16:51:04 -0700)
dding ability for profiler to use a sampling rate

R=eford