Add set_type to Solution.
A check for type of ext functions and acting if == HERMES_SLN.

Further work NEEDED.
Memory leak fix in DG.
Deallocation type fix in Space.
Vectorizer memory leak fix.
Progress on DG.
Some const updates.