buy and sell take optional rate param

hi, 

i modified buy and sell methods, so the desired rate can be specified explicitly. if no rate is given, the old behaviour is used.

this change is essential to use the bter client for automated trading.

cheers,
tim