Refactored apiURL() to accept an array of params

Query params must now be passed into apiURL() in an NSArray of strings
in the format "param=value".