Implemented OS X profile autodetection by symbol matching from index.

- Added support for relative symbol offsets in profile indices.
- Added support for matching profiles on an image without knowing max offset.

BUG=
R=scudette@gmail.com

Review URL: https://codereview.appspot.com/107810046