Cp newapi

- Added a library view
- Some changes to the api
- Click on test now fetches the apikey.

It works fine here, can you check it works on your end aswell? (the api
changes hasnt been merged or commented on my pull at htpc manager so i
dont know it works for others aswell)