Displaylist rewrite partial changes

This is just @Orphis' code with minor adjustments, but only some of it.  Barely any actual functionality changes, mostly hoisting, but it decreases the distance from the dlist-rewrite (although, it'll probably cause conflicts.)

All my games seem fine with these (minimal) changes, which ultimately amount to for games:
 * Moving the stack to per-list and increasing its size.
 * Returning errors if wrong parameters are passed to some sceGe() funcs.

(as you've noticed I like small atomic changes for rebasing, will make it much easier to get the right functionality without the bugs from the dlist rewrite.)

-[Unknown]