Update version numbers to 5.0.7-SNAPSHOT

This should be merged before any other dev_5_0 PRs.