Test.rb can now login in a headless webkit session. Also modularized everything and started adding functionality for adding items to a wishlist.