Exploit::Remote::Web: added #tries method

#tries method indicates how many times we should run a module until
we establish a session.