MODE-1798 - Added explicit validation of the case when a preconfigured projection is created without an alias name or with an alias that ends in "/"

Also, cleaned up up a bit the code around preconfigured projections.

Should be merged in 3.1.x and cherry picked in master.