Add support for disposal mode 2 and 3

- Implements restore to background color and
  restore to previous frame disposal modes
Merge pull request #1 from mmontag/disposal-mode-fix

Add support for disposal mode 2 and 3