Added streams type to the inputs.
Merge branch 'stream-as-input' of github.com:mcollina/create-torrent into mcollina-stream-as-input

Conflicts:
	index.js
copy extra test to browser tests
update docs
If there's just one file, allow the name to be set by `opts.name`
always use calculated length from matteo's PR
code style