Added version checking (for releases).
Updated DEVELOPMENT notes.
New upstream release (3.1.1).
Increased version to 3.1.1.2.dev1 after release of 3.1.1.1.

(commit by unleash 0.5.8.dev1)