Set version to 1.0.0-M1-SNAPSHOT, close #40.