Aggregation over Metric Spaces: Proposing and Voting in Elections, Budgeting, and Legislation