Refactor function in eunit using is_function/2

is_function/2 looks present since at least OTP R13B03, so the change
shall not undermine running eunit on older versions of Erlang.

This commit is only refactoring - it contains no functional changes.
Update version numbers
Update release notes