Added `NSString#to_url` and `NSURL#to_url` helper methods to help clean up a lot of code.