make virtual-dom a proper npm module.

I also added some automated build tasks.