make get_last_release() go further back in release history,
compute the depth at which it finds a release.
Properly increment feature version based on the depth at
which the last release was found.
Change-Id: I5880611a7d9005cee8fe4c2d7920f84d880eeeb8
Task: 22351