Add support for Scala match expression

- fixup output of match, else and func results by using the same logic as in val result
- change defition of userRepr on placeholder results to throw an error is they are called