Switched to using Addressable for URI parsing

Due to issues with hostnames that contain underscores. This was causing a lot of image load failures on CDNs that don't conform exactly to the RFC.

http://www.cloudspace.com/blog/2009/05/26/replacing-rubys-uri-with-addressable/