Update foreign refs
[IM] Make it abuntently clear to the admin when maintenance mode is enabled

This way it will not be forgotten to disable maintenance mode  *cough*
[BF] Doctrine entities cannot be cached

There is probably a way of doing this but it's a little bit complicated with the way Doctrine2 works. It's better to cache
array results rather than entity objects.
[BF] Better to not assume all users on all machines have set a default timezone.

This is only used as a fallback.
[BF] Remove references to old conf options for aggregate graphs
Merge branch 'bf-various-from-v3.4.0'
Stamp v3.4.1 with changelog and version bump
Merge from master
[IM] Fix types, ensure consisitency with Perl equivalent
[IM] Do not assume we have aggregates