[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.
This is a kind of copy-paste from lightbox.haml, where it gives better handles for making several popups on the same page. Useless at the moment - so, I'll remove it.