Add gitignore
Apply commits from upstream repo.

commit 66032b79c485a400fb3674491aae1d8ba39e4ac2
Author: Jamie Kirkpatrick <jkp@spotify.com>
Date:   Mon Feb 4 12:02:42 2013 +0100

    Fix pyflakes warnings

commit d9244e95744c7efd3ec81aa8b6bc3adbd9a4e2a9
Author: Jamie Kirkpatrick <jkp@spotify.com>
Date:   Mon Feb 4 07:26:57 2013 +0100

    Fix playback deadlock issues.

    This commit changes a number of things and seems to fix the
    audio playback issues in previous release.  The following
    changes have been made.

    - Ensure that the tornado IOLoop is used properly from background
      threads: it is not thread-safe except for a few operations - the
      code has been vetted to ensure proper usage.
    - Remove potentially blocking code in the audio converter - the
      FIFO was needed when the audio converter was the sync point for
      different threads but now this is done in a different way.
      Breaking in GDB showed that it was causing the runloop to block
      indefinately if the PIPE buffers were full for some reason.
    - Ensure that no work at all is done in the libspotify audio
      callback: just queue the data and bounce a request to the main
      thread to process it.