Updating version to 2.2.7.

Updating the version number in __init__ and the CHANGES.txt file
accordingly.