Wipcasblocks cleaning

Bit late but here are some cleaning on the blocks. 

The external block is now disabled by default but it has a setting that can be used to enable it and the latex-handler.

Also more comments and documentation.