[WiP] Fix trial expiration

Separating plan_level from community to a new table for the sake of saving some data about when communities have changed their plan levels.
Did you discuss about this with Olli? He had an idea about adding active flag.