Update support for cloudapp (cl.ly) image URLs

Sample image URL: http://cl.ly/image/2t0K3D3N3L3k
Merge pull request #391 from randomsequence/cloudappimages

Update support for cloudapp (cl.ly) image URLs
A different take.
Much better wakeup logic.