helpers.php: fix case kisakone is at root of server

Links we're deformed with "//" instead of "/" at beginning.
gitignore: ignore compiled smarty templates