Upated to latest cloudfront API and made a couple refactorings
Changed how error handling works
Merge pull request #7 from codingthoughts/master

Updated to latest API version and made some refactorings