uses the terminal size to display search output, add -notrunc 

Fixes #1137

and fix a small bug in resize

try:

    docker search redis

and

    docker search -notrunc redis

http://grab.by/ogKm

/cc @kencochrane