Update dependencies
auto merge of #889 : ebfe/cargo/fix-build, r=alexcrichton

Update docopt, encoding and hamcrest to fix build with rust master.