Initialises in_reference to 0 in tags/tex.py

Forgot to initialise the in_reference variable in tags/tex.py
Fixes regex for extracting \cite commands

The regex no longer requires the optional [a] to be present in \cite[a]{B}.