cli: limit history length to 3000

Change-Id: Iab4633d3ea9640eabf357d19ff93190688ae187f
Signed-off-by: Michael pasternak <mpastern@redhat.com>