Removed selenium-java dependency and selenium-api dependency and updated selenium-firefox dependency to 2.40.0