add isolatemode line magic

%%isolatemode [strict | loose | unprotected]

(see doc string )