Replace ARRAY_SIZE with boost::size where possible

Remaining uses need a constexpr value.
Use -pedantic when compiling with -std=c++11
Rename util.hpp to math.cpp

And get rid of ARRAY_SIZE completely.
Move alignment functions out of types.hpp
'Fix' a style warning

Warning was bogus, but meh.
Doxygen: Remove obsolete SYMBOL_CACHE_SIZE config

Was set to the default anyway.
Doxygen: Remove DOT_FONT* settings

Let Doxygen use the default, we don't really care.