added back ports for use of .sample method in ruby pre-1.9; specified minitest and back ports gem dependancies