Update Google Music script use API for interacting with the music player

The old extension stopped working for me for some reason and after fiddling with the player I figured out how to call the same function that the Gmusic app is using to interact with the player.

This is my first time doing anything with a Chrome extensions so I'm not sure if I've missed anything here.