Code cleanup and request failure logging. Add hook for recommendation elements on home page.
Fix http response code handling while logging
Merge pull request #9 from Nosto/cleanup-and-logging

Code cleanup and request failure logging. Add hook for recommendation el...