fixed several bugs in quote.py

* fixed unicode bug; caused when deleting any quote and there was a
  single quote containing a unicode character
* fixed a bug where deleting quotes with negative numbers was off by 1
* changed the first quote to be 0 (yay programmers!)