[discretefunction.default] let local_discrete_function return a unique_ptr

WARNING: this commit might brake your code!

refs #6
update local_discrete_function usage, closes #6
[test.spaces_dg_fem] disable polorder 2 tests in debug builds, refs #9