adapt to scli changes

and add gitolite_dir and repo_dir configs
improve edit profile page
fix active menu item when editing profile