Copy all function attributes (like __doc__, __code__, __name__, etc) from original function to JIT functions
Set __code__ as well.
Tests for function __name__ and __module__ settings.
Python 2.6 and later has __code__.
Merge pull request #508 from seibert/issue470

Copy all function attributes (__doc__, __code__, __name__, etc) from original to JIT function