resolves #1110 enable TeX equation auto-numbering if eqnums is set

* set autoNumber to eqnums attribute value if defined
  - possible values are all, AMS or empty string (defaults to AMS)
* set autoNumber to AMS if eqnums attribute value is empty
* autoNumber is not enabled unless eqnums attribute is present