add environment configuration support
This adds limited support for environment configuration. Available options are outlined in the `Custom Enviroments` section in the readme. For now the only configurable setting is the `apiOrigin` making it possible to switch the origin of the thekno API without creating a separate build. Environment configuration is provided by the `/thekno-env.json` endpoint.
Showing with 121 additions and 35 deletions