This is basically the extension of @andy5995 's D4303 and @lyv 's D4670
This patch:
* movesMove the placement functions and the getTeamArray from rmgen2 to rmgen1
* introduces a new rmgen1 function `playerPlacementByPattern` to use instead of `createBasesByPattern` (which will be deprecated in another diff)-common, so that those maps can use the placement options as well, without having to load the whole rmgen2 library.