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.
I thought that we agreed that `scalar` and `time` where acceptable exceptions to the general rule of naming template variables...