Support Mac OSX 10.10

1. Replace JSONKit with native Cocoa API.
2. Replace JSCocoa with JavaScriptCore APIs.

*TODO:* Only tested text mate plugin on OS X 10.10, many other tests
should be done.