Check for API key presence on all requests
Check for API key presence on all requests

This addition checks for the presence of an API key on all requests. It allows
requests if:

  - the API key is in the Authorization header (works for all requests)
  - the API key is in the query params (only for GET requests)
  - the API key is in the POST body (POST requests only)

Otherwise, an appropriate JSON error message and a 400 status code is returned.

tessel/cloud