Allow returning function objects in object mode

Allow returning function objects in object mode. If function object is returned in nopython mode, an exception is thrown. Fixes regression in oldnumba/tests/builtins/test_builtin_abs.py
Siu added it over the weekend, I think.  :)