New Map Saving

Adding global variables to the projection field directive in order to pass them to the new map modal windows correctly.

Note: I'm still not able to save a new map however. The error says that the map requires a projection, but I'm sure that there is a projection in the array like this now: {'srs': projection string, 'wkt': ...}. If a custom projection is not selected the radio buttons now set the projection as either: 'latlon' or 'mercator'.

New layers are not working for me either and I'm guessing it's due to the same issue.