Issue fix #32 and removal of JSONKit

Removed JSON kit has a required library and used NSJSONSerialize since as of iOS 7 this library has issue using the isa pointer. As well, fixed a bug that when the last data item is null the legend wouldn't show up.