[Rackspace|Storage] Refactor Storage

I moved all of the CDN specific code from Storage to CDN class and in the process DRY'ed up the code. 

I have also added tests for Fog::Rackspace::Directory.