fix test suite for coffeescript 1.7+
fix object being passed to is_encoded, closes #126
Merge pull request #127 from carrot/fix-rfc3986-error

Fix rfc3986 error