add jsonp support to api
fix small bug in direct messages api
Merge pull request #1192 from fabrixxm/api/jsonp

add jsonp support to api