doc.forms uses and xpath that doesnt evaluate from the root of the document
add tool mode
travis + tox setup
install missing deps
use input elements with type=email in case a text input is not available
Fix Python 3 compatibility
pypy segfaults parsing an html form inside lxml
include the submit input in fill_login_form
Merge pull request #5 from nside/master

include the submit input in fill_login_form
Always pick the first available form field for each type.

fixes #6
pylint fixes
lint and bump version to 1.0
Merge pull request #1 from scrapy/master

latest from upstream