Some fixes

- fixed incorrect language variable in admin/languages/de/groups.php
- fixed missing database connection in install/functions.php
- fixed mysqli_insert_id()