Compatibility changes for Ruby 1.9

Some of the syntax I was using was not Ruby 1.9 compatible.  This commit
corrects that oversight.
Added support for keys without leading slashes

This commit removes the requirement that a key be prefixed with a
leading slash.  Both a leading slash and no leading slash are now
acceptable for remote_path.