release 0.4.0
bump to 0.5.0-SNAPTHOS, and doc changes