Added a basic test suite for flexing the escape_quotes function, which breaks almost every time I merge something.
Extracted escape_quotes as a class method since it doesn't rely on state.

This also makes testing a bit easier.
Fixed single quote escaping and added double quote escaping.
Preparing the 2.2.5 release.