Add has_stat to Rex::Test
Add documentation for has_stat (close #474)