prepared the 0.4.0 release
bumped version to 0.5.0-DEV