Added back functions.tpl to every template and made sure calls to the functions in functions.tpl are correct
Added a name assignment to every delete_<type>_confirmation function which fixes a small issue with the translation of the header in the delete_confirmation.tpl.
Also changed the way I access ID's in some places. This should lower the amount of queries done.
Removed all the translation constants and changed them to the new way for translations (gettext). Also added a lot more translations which should be pretty much done now.
Also added 2 vars (name_placeholder and description_placeholder) to department.tpl and competencygroup.tpl, which makes sure the created rows get translated text as well.
Changed ADMIN_URI to 'admin/' in config.php. This means that all links in the templates had to be changed. Also changed a lot of checks so they only use the empty() function.
Using the Limonade function redirect_to() instead of header(). Also using the Limonade function flash() instead of putting the message in the url.