Heart rate monitor data

I've added the reading of heart rate. I don't know how universal is the code. It works for my gpx file exported from RunKeeper website.