Updated to version number 0.3.1. Updated changelog and upgrade notice.