PHP 5.4 fixes and translation updated

This pull request contains commits that makes Foodle compatible with PHP 5.4 (the current version in Debian Wheezy) as well as some (mainly Czech) translation updates.