Update analyst to use new flags
Use flags for breakpoints and memchecks in the recompiler
Port the rest of the function scanning over from PPSSPP