add error msg for "syms x clear"
clean up symfun construction a bit, add some unit tests, fix bug #36