migrated to selenium webdriver

migrated to selenium webdriver and have a version working for market
url encoding
Merge pull request #1 from ben-jones/foci-rebased

migrated to selenium webdriver