Added ToC referencing capabilities in main.py, render/edXpsl.zpts, plast...

...expy/edXpsl.py with supporting macros
Could you raise an exception error on this condition instead?