adding mute and unmute
Refactored script configuration

Single line scripts are declared as string instead of array.
All mulitiline scripts moved to separate files.
Applescript files are declared in scripts object.
Do not create TIFF from artwork if it already exists

This prevents the creation of the artwork TIFF in get_artwork if the TIFF
already exists.
getState now includes track id for easier polling

track_id is now part of the JSON of getState. This commit also extracts
getState out to a seperate file, making maintainance eaiser.
Refactor isRunning

After more time with AppleScript I found a lot nicer method of determining
whether Spotify is running or not.

This shrinks `isRunning` down to one, easy-to-understand line, using `running`
attribute of the application Spotify. Apparently every application has a
`running` attribute, which I didn't know about before.
remove useless else clause
reorganize file
put scripts path in variable
Merge pull request #11 from rmehner/get_state_improvements

getState now includes track id for easier polling
Merge pull request #12 from mrnugget/refactor_is_running

Refactor isRunning
Merged master
Merge pull request #10 from rmehner/improve_get_artwork

Do not create TIFF from artwork if it already exists
Merge branch 'master' into separate_applescript_files
remove is_running script file
refactor getArtwork
add npm test script
Merge branch 'master' into separate_applescript_files
make callback optional
replace transformer function with util.format

execScript now accept extra param argument
Merge branch 'master' of https://github.com/fastfrwrd/spotify-node-applescript into fastfrwrd-master