"dev mode?" primitive for Snap's chosen mode detection

<b>Last edit:</b> This was about adding new debugging primitive for Snap's chosen mode detection. However I completely misunderstood dev mode so my suggestion has no reason. Closed.