Use 4 spaces as indention, as requested by PSR-2

With this patch, each indention level of the generated code is 4 spaces long. The code is therefore more compliant with PSR-2.