Citation Backend

Citations can now be saved and restores locally to the current page,
although it is removed on refresh.

Started very early work on format syntax