ruby 2.0.0 compatibility updates

changed encodings from ISO-8859-1 to ASCII-8BIT for binary strings;
fixed problems in image info with binary strings;
fixed problem using add_text with embedded links when not using
encryption;
added some tests;