Finishes refactor of map edit layer management.
Standardizes spacing in Jasmine tests.