Return all_ids in API requests

See https://code.google.com/p/openstates/issues/detail?id=772