Cleanup in RSXThread::DoCmd

Some RSX commands added.
Moved unused commands to the bottom of the big switch/case.
RSX: checkForGlError for Stencil/Depth/Color misc
Merge pull request #698 from raven02/patch-12

RSX: checkForGlError for Stencil/Depth/Color
Regression fix https://github.com/DHrpcs3/rpcs3/issues/697
Merge pull request #700 from raven02/patch-13

Regression fix #697
RSX: detach shader when clear program buffer
Stub all remaining sceNP functions
Merge pull request #703 from raven02/patch-15

Stub bunch of sceNP functions
Merge pull request #702 from raven02/patch-14

RSX: detach shader when clear program buffer
Fix spacing
Add sceNpSignalingDestroyCtx()
Merge pull request #706 from raven02/patch-16

Fix spacing
Prepared new SysCalls, made nicer
Merge pull request #707 from tambry/newsyscalls

Prepared new SysCalls, made nicer
Conflicts fixed
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3

Conflicts:
	rpcs3/Emu/SysCalls/SysCalls.cpp
Merge branch 'master' of https://github.com/Nekotekina/rpcs3

Conflicts:
	rpcs3/Emu/SysCalls/SysCalls.cpp