Bug fixes, tidy sources, migrate to jsonlite

Changes:

- tidy source code: fromtatR:tidy.source + manual fixing;
- switch to use `jsonlite::fromJSON` for more easy processing response;
- fix bugs: `getSegments` function contain incorrect names for extracting, `getMCFData` contain calls `plyr::llply` functions.
- some litle improves.