added get challenge function
modified for multiple challenges
added multiple hartbeat types to client
modified test run to use 10 challenges
added test for number of challenges less than 1
Merge pull request #2 from wiggzz/devel

Modified to use multiple challenges.