Cherry pick from detokenize branch
Add more conditionals in test-autonum to simplify testing variations
Add one test case with a label with colon defined after an equation
Fix regression in 0.3.4 with special characters in labels

Due to the support of deactivating the package, there was a regression
which resultet in an undefined label if the label contained a special
character and has never been referenced before its definition.

This commit reverts the label saving behavior to the 0.3.3 state writing
an additional dummy implementation of the \csxdef command to the
auxfile, thus supporting both features (package deactivation and special
characters)
Support error-free deactivating the package even when using TOC or LOF files
Prepare release 0.3.6