set account transport object to sync

Maybe that helps with restore issue. Needs testing.
fixed jslint error in prologue.js
catch error while setting host

this should prevent node from dying if hostname
can not be resolved.
iCal-conversion changes

- fixed whitespaces => every line changed.
- fixed timezone/daylight saving times issue for allDay events, allDay events now only are at 12 o'clock, which gives 12 hours of buffer to prevent webOS from spreading them over multiple days.
- made logging optional
changed delete all to prevent up sync

copied this method from somewhere in the sync framework.
made calDav logging optional.