Add cancellation method and remove JSONKit dependences

1. Add cancellation for uploader.
2. Add block style delegate properties.
3. Remove JSONKit dependences, use NSJSONSerialization to handle json
parser and serialize.
4. Refactory some codes, change part of coding style.