cmake, debian: Change version to 2.5.1

Change version to 2.5.1 so that newly created packages won't be confused
with the stable release. This also enables new mechanism of registering
shadow masters in the active master server.

Change-Id: I01e124605b372cdd312a5c1edb7afff8ee9956b7