Bug 844882 - Part 5: jit-tests for self-hosted classes. (r=nmatsakis)