PHP 5.4 fix (function getColumnHeaders)

Fix to show table headers (answering options) when creating/showing a
foodle survey.
Merge branch 'master' into cesnet

Merging fix for PHP 5.4 (function getColumnHeaders)