some enhancements on SeafileApiRequest

- [api] add HTTP put and HTTP delete support for apirequest
- [api] force use PercentEncoding for params in the api request
landed at a52acf6