Fix missing shared library errors when launching notifier.py before ldconfig.

Ticket:	#6426
Defer attaching swap until ZFS volumes are mounted.

With that change, swap partitions are attached after ZFS layer
is fully initialized and ZFS volumes are mounted, so we can figure
out which ZFS volumes are used (attached) and should have active
swap partitions.

Ticket:	#3685
Thinko, used wrong variable.
Fix a reference-before-assignment that happened to to an exception.
Linking the new Cert Ui to WebDAV, making WebDAV code efficient, doing some clean up.

Actually, lots of clean-up (I basically saw my own code from 2 months ago and said "yuck!")

So I revamped almost all of it (lets see what happens 2 months from now :-) )

I have managed to meesup the javascript and some other minor (non-service interruptive)  stuff though.

Will work out how to fix them, in the next commit.
Merge remote-tracking branch 'origin/master' into freebsd10