Added $data to get request

No issue.

Previously there's no way to pass down query parameters to a get request using the `WPAPI` class. This change enables to filter posts/pages/cpts as per http://wp-api.org/#posts_retrieve-posts_input.