Added changelog items for 0.40
Merge pull request #326 from Lego3/changelog_for_0.40