Add response headers to ApiResponse to gather API limits information

ApiResponse has been modified, headers has been stored.

Use getRateLimit() and getRateLimitRemaining() from ApiResponse to get info about current API usage.