Fix tests
Fix test/rdoc running
Fix and test context in ruby 1.9.2
Version bump to 1.1.2
Add pkg dir to .gitignore