Make API configuration more configurable

@astopy This lets you run

```
PANOPTES_API_HOST=http://localhost:7357 PANOPTES_API_APPLICATION=ABC123BLAHBLAHBLAH npm test
```

To set the host, you'll need an app ID for that host though. This work for you?