a move ahead the right platform for the Zic environment

this version integrates changes from Tof (on canvas) and on Alexis (bug fixes, plus new HTML5 skin); I have added new code to manage sub-domains and virtual hosts, and removed a lot of legacy stuff