make the tempaltes able to be changed per instance
better management of the favicon
fixed a small bug on frontpage logic
make it working also without native http_build_url() function