Fixed themes added slate

if you choose a other theme then default it only removed the default
theme and did not add the choosen one.
Remove needed code
Changes to cp

- Added a library view
- Some changes to the api
- Click on test now fetches the api.

It works fine here, can you check it works on your ends aswell (the api
changes hasnt been merged or commented on my pull at htpc manager so i
dont know it works for others aswell)
Merge pull request #22 from Hellowlol/cp-newapi

Cp newapi