Added hooks.rb with screenshot on failure and added screenshot directory creation