Added Scrutinizer badges and fixed code formatting.