4.0 migration guide

Adding full migration guide to docs @hacksparrow @altsang @ritch