Don't retrieve all changes when getting just last changeset id
refactoring
Merge pull request #625 from pmiossec/perfs_get_last_changeset_id

Perfs get last changeset id