Universal quality setting for save method. Fixes #4

Save with quality setting between 1(low quality, small file size) and 10(high quality, large file size).

Will be converted to appropriate value for imagepng() and imagejpeg().