MODE-1806 - Changed the way the projections are stored/removed 

...so that the information is persisted each time into the repository. This way there shouldn't be any problems if the shutdown of the repository isn't orderly.

Also, if an internal node exists with a given alias, instead of raising an exception only a WARN will be logged.

Should be merged in 3.1.x and cherry-picked in master.