fix parsing of redirect and piping using better delimiter ;  fix #7

not a full shell-like parsing and support of chain of pipes like i've
been wanting, but this does the majority of the job.

influx> select * from test | sort
Server returned (400): syntax error, unexpected $undefined, expecting
$end
select * from test | sort;
                   ^
influx> select * from test; | sort
1414599232050.000000      60001.000000            tv,rocks
123                  hi
                time sequence_number                 bar
number                 foo
influx> select * from test; | rev
tset ##
oof                 rebmun              rab
rebmun_ecneuqes emit
ih                  321                 skcor,vt            000000.10006
000000.0502329954141
influx>