Added the ability to call a callback function if a request fails.
Prettyfied phpdoc.
Prettyfied phpdoc (again).
Minor tweaks to retry system.