Add codeclimate badge
Refactoring at stock_item notification.