* change require vue to Vue && waterfall.md * use vue in amd & commonjs, use Vue in root * change webpack config * fix some config