Modified Travis config so Kamele also gets tested on HHVM
Fixed ugly typo causing variable not to exist
Replaced two functions with one, slight performance improvement
Added failsafes mechanisms to rand_number() and rand_string()