Adds code climate and travis config
Covers affiliate promotion rule controller spec