make project reference field for releases part of fserver, fix next_version method for case where latest release is a dev release