Normalize data in project map

Normalizes data in the project map such that functions within Leiningen can assume that the data is on a canonical form. Fixes #858, and contains some test cases.

Currently only expands repository forms to an expanded version.

Also contains a fix for #907, as it is a two-character fix.