Ruby 2.0 updates

Worked on ruby 2.0 compatibility and encodings.  ASCII-8BIT and ruby's binary string method are now used for binary strings, and when adding text, encoding is detected and text is converted to the pdf encoding.

Also, a few rspec tests were added.