Added ?revision parameter to entity/:gid/* endpoints.