Allow to parameterize portals to use
Simplify VarManager
Replace the code of VariablePlatform.js with two new classes: PersistentVariable and PersistentVariableDef