Added script for pausing Spotify.

Complete JS code restructure to make it more object orientated. Added
subclass that handles functionality for Spotify.