coding style configuration for AStyle applied

I compiled a configuration for AStyle and applied it to the current code base. In addition I made some manual changes regarding capitalization of constants and template typenames.