[ZEPPELIN-1206] fix "name 'z' is not defined" with python3
[ZEPPELIN-1206] fix "name 'z' is not defined" with python3

### What is this PR for?
PythonInterpreter can not use dynamic form with python3.
Fix this problem.

### What type of PR is it?
Bug Fix

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-1206

### How should this be tested?
```
%python
print(z.input("test"))
```

Make a note above, and run it.

### Questions:
* Does the licenses files need update? NO
* Is there breaking changes for older versions? NO
* Does this needs documentation? NO

Author: Sangmin Yoon <sangmin.yoon@croquis.com>

Closes #1213 from sixmen/fix_python3 and squashes the following commits:

be6f68b [Sangmin Yoon] fix "name 'z' is not defined" with python3

openthings/zeppelin,benoyantony/zeppelin,AlexanderShoshin/zeppelin,sergeymazin/zeppelin,openthings/zeppelin,astroshim/zeppelin,IceKhan13/zeppelin,optimizely/incubator-zeppelin,raysteam/zeppelin,lresende/incubator-zeppelin,anthonycorbacho/incubator-zeppelin,rconline/zeppelin,astroshim/zeppelin,r-kamath/incubator-zeppelin,doanduyhai/incubator-zeppelin,1ambda/zeppelin,optimizely/incubator-zeppelin,pravin-dsilva/zeppelin,r-kamath/incubator-zeppelin,rconline/zeppelin,vipul1409/zeppelin,hammertank/zeppelin,mwkang/zeppelin,vgmartinez/incubator-zeppelin,sohaibiftikhar/zeppelin,Madhuka/incubator-zeppelin,minahlee/zeppelin,rconline/zeppelin,mfelgamal/zeppelin,openthings/zeppelin,minahlee/incubator-zeppelin,vrlo/zeppelin,SarunasG/zeppelin-oidc,sergeymazin/zeppelin,fogbeam/zeppelin_mirror,raysteam/zeppelin,Leemoonsoo/zeppelin,karuppayya/zeppelin,YuanGunGun/zeppelin,volumeint/zeppelin,IceKhan13/zeppelin,jongyoul/zeppelin,anthonycorbacho/incubator-zeppelin,IceKhan13/zeppelin,AlexanderShoshin/zeppelin,hammertank/zeppelin,Altiscale/incubator-zeppelin,benoyantony/zeppelin,yu74n/zeppelin,r-kamath/zeppelin,Madhuka/incubator-zeppelin,benoyantony/zeppelin,cfries/zeppelin,openthings/zeppelin,sravan-s/zeppelin,openthings/zeppelin,benoyantony/zeppelin,herval/zeppelin,lresende/incubator-zeppelin,zjffdu/zeppelin,Leemoonsoo/zeppelin,apache/incubator-zeppelin,sergeymazin/zeppelin,vgmartinez/incubator-zeppelin,radicalbit/incubator-zeppelin,doanduyhai/incubator-zeppelin,r-kamath/incubator-zeppelin,VipinRathor/zeppelin,spacewalkman/incubator-zeppelin,namanmishra91/zeppelin,herval/zeppelin,namanmishra91/zeppelin,joroKr21/incubator-zeppelin,cfries/zeppelin,Altiscale/incubator-zeppelin,fogbeam/zeppelin_mirror,yu74n/zeppelin,pellmont/zeppelin,hkropp/incubator-zeppelin,cfries/zeppelin,AlexanderShoshin/zeppelin,sravan-s/zeppelin,namanmishra91/zeppelin,tillrohrmann/incubator-zeppelin,Leemoonsoo/incubator-zeppelin,zjffdu/zeppelin,apache/incubator-zeppelin,soralee/zeppelin,onkarshedge/incubator-zeppelin,SachinJanani/zeppelin,astroshim/incubator-zeppelin,onkarshedge/incubator-zeppelin,prabhjyotsingh/zeppelin,cfries/zeppelin,chilang/zeppelin,hammertank/zeppelin,vipul1409/zeppelin,optimizely/incubator-zeppelin,Leemoonsoo/zeppelin,hammertank/zeppelin,digitalreasoning/incubator-zeppelin,YuanGunGun/zeppelin,mwpenny/zeppelin-esri,optimizely/incubator-zeppelin,vgmartinez/incubator-zeppelin,joroKr21/incubator-zeppelin,soralee/zeppelin,datalayer/zeppelin,astroshim/incubator-zeppelin,astroshim/incubator-zeppelin,Leemoonsoo/incubator-zeppelin,datalayer/zeppelin,zetaris/zeppelin,tinkoff-dwh/zeppelin,tinkoff-dwh/zeppelin,hammertank/zeppelin,r-kamath/zeppelin,IceKhan13/zeppelin,hkropp/incubator-zeppelin,digitalreasoning/incubator-zeppelin,sravan-s/zeppelin,cquptEthan/incubator-zeppelin,mfelgamal/zeppelin,datalayer/zeppelin-datalayer,yorek/zeppelin,joroKr21/incubator-zeppelin,zjffdu/zeppelin,tinkoff-dwh/zeppelin,Leemoonsoo/incubator-zeppelin,yu74n/zeppelin,digitalreasoning/incubator-zeppelin,rconline/zeppelin,zjffdu/zeppelin,fogbeam/zeppelin_mirror,Leemoonsoo/zeppelin,digitalreasoning/incubator-zeppelin,r-kamath/incubator-zeppelin,mfelgamal/zeppelin,YuanGunGun/zeppelin,astroshim/zeppelin,Altiscale/incubator-zeppelin,SarunasG/zeppelin-oidc,Altiscale/incubator-zeppelin,herval/zeppelin,yorek/zeppelin,wary/zeppelin,astroshim/zeppelin,lresende/incubator-zeppelin,chilang/zeppelin,zetaris/zeppelin,datalayer/zeppelin,prabhjyotsingh/zeppelin,astroshim/zeppelin,vgmartinez/incubator-zeppelin,Madhuka/incubator-zeppelin,fogbeam/zeppelin_mirror,fogbeam/zeppelin_mirror,YuanGunGun/zeppelin,cfries/zeppelin,herval/zeppelin,vipul1409/zeppelin,datalayer/zeppelin,lresende/incubator-zeppelin,radicalbit/incubator-zeppelin,sohaibiftikhar/zeppelin,SachinJanani/zeppelin,prabhjyotsingh/incubator-zeppelin,digitalreasoning/incubator-zeppelin,apache/zeppelin,zetaris/zeppelin,Nova-Boy/zeppelin,SachinJanani/zeppelin,anthonycorbacho/incubator-zeppelin,wary/zeppelin,rconline/zeppelin,minahlee/zeppelin,sravan-s/zeppelin,mwpenny/zeppelin-esri,yorek/zeppelin,anthonycorbacho/incubator-zeppelin,prabhjyotsingh/incubator-zeppelin,AlexanderShoshin/zeppelin,sravan-s/zeppelin,vrlo/zeppelin,apache/incubator-zeppelin,IceKhan13/zeppelin,jongyoul/zeppelin,pravin-dsilva/zeppelin,sctincman/zeppelin,yorek/zeppelin,doanduyhai/incubator-zeppelin,minahlee/zeppelin,Leemoonsoo/zeppelin,pravin-dsilva/zeppelin,mwpenny/zeppelin-esri,tillrohrmann/incubator-zeppelin,chilang/zeppelin,tinkoff-dwh/zeppelin,zjffdu/zeppelin,sctincman/zeppelin,tinkoff-dwh/zeppelin,SarunasG/zeppelin-oidc,sohaibiftikhar/zeppelin,vipul1409/zeppelin,jongyoul/incubator-zeppelin,mwkang/zeppelin,volumeint/zeppelin,prabhjyotsingh/zeppelin,sohaibiftikhar/zeppelin,cquptEthan/incubator-zeppelin,tillrohrmann/incubator-zeppelin,r-kamath/zeppelin,digitalreasoning/incubator-zeppelin,radicalbit/incubator-zeppelin,sctincman/zeppelin,pravin-dsilva/zeppelin,minahlee/incubator-zeppelin,AlexanderShoshin/zeppelin,chilang/zeppelin,tzolov/incubator-zeppelin,astroshim/zeppelin,astroshim/zeppelin,vgmartinez/incubator-zeppelin,sctincman/zeppelin,herval/zeppelin,tinkoff-dwh/zeppelin,sctincman/zeppelin,anthonycorbacho/incubator-zeppelin,vrlo/zeppelin,radicalbit/incubator-zeppelin,radicalbit/incubator-zeppelin,pellmont/zeppelin,soralee/zeppelin,spacewalkman/incubator-zeppelin,jongyoul/zeppelin,SarunasG/zeppelin-oidc,jongyoul/incubator-zeppelin,apache/zeppelin,pravin-dsilva/zeppelin,sravan-s/zeppelin,YuanGunGun/zeppelin,prabhjyotsingh/zeppelin,benoyantony/zeppelin,Leemoonsoo/zeppelin,1ambda/zeppelin,mwpenny/zeppelin-esri,SarunasG/zeppelin-oidc,1ambda/zeppelin,anthonycorbacho/incubator-zeppelin,tillrohrmann/incubator-zeppelin,SachinJanani/zeppelin,lresende/incubator-zeppelin,apache/incubator-zeppelin,joroKr21/incubator-zeppelin,Leemoonsoo/zeppelin,prabhjyotsingh/incubator-zeppelin,IceKhan13/zeppelin,Leemoonsoo/incubator-zeppelin,Altiscale/incubator-zeppelin,doanduyhai/incubator-zeppelin,karuppayya/zeppelin,hkropp/incubator-zeppelin,apache/incubator-zeppelin,SarunasG/zeppelin-oidc,prabhjyotsingh/incubator-zeppelin,joroKr21/incubator-zeppelin,cquptEthan/incubator-zeppelin,zetaris/zeppelin,tillrohrmann/incubator-zeppelin,joroKr21/incubator-zeppelin,AlexanderShoshin/zeppelin,chilang/zeppelin,apache/zeppelin,tzolov/incubator-zeppelin,minahlee/zeppelin,karuppayya/zeppelin,cquptEthan/incubator-zeppelin,onkarshedge/incubator-zeppelin,astroshim/incubator-zeppelin,r-kamath/incubator-zeppelin,yorek/zeppelin,prabhjyotsingh/incubator-zeppelin,sctincman/zeppelin,minahlee/incubator-zeppelin,apache/incubator-zeppelin,spacewalkman/incubator-zeppelin,jongyoul/zeppelin,volumeint/zeppelin,raysteam/zeppelin,1ambda/zeppelin,prabhjyotsingh/zeppelin,soralee/zeppelin,sohaibiftikhar/zeppelin,onkarshedge/incubator-zeppelin,pellmont/zeppelin,pellmont/zeppelin,wary/zeppelin,mwkang/zeppelin,sravan-s/zeppelin,jongyoul/zeppelin,cquptEthan/incubator-zeppelin,raysteam/zeppelin,hkropp/incubator-zeppelin,datalayer/zeppelin-datalayer,SachinJanani/zeppelin,benoyantony/zeppelin,r-kamath/zeppelin,volumeint/zeppelin,cquptEthan/incubator-zeppelin,jongyoul/zeppelin,vrlo/zeppelin,datalayer/zeppelin,minahlee/incubator-zeppelin,mfelgamal/zeppelin,vrlo/zeppelin,VipinRathor/zeppelin,wary/zeppelin,Leemoonsoo/incubator-zeppelin,r-kamath/zeppelin,minahlee/zeppelin,yorek/zeppelin,VipinRathor/zeppelin,namanmishra91/zeppelin,hammertank/zeppelin,yu74n/zeppelin,apache/zeppelin,astroshim/incubator-zeppelin,sohaibiftikhar/zeppelin,volumeint/zeppelin,Nova-Boy/zeppelin,cquptEthan/incubator-zeppelin,SarunasG/zeppelin-oidc,optimizely/incubator-zeppelin,tzolov/incubator-zeppelin,mfelgamal/zeppelin,zetaris/zeppelin,fogbeam/zeppelin_mirror,SachinJanani/zeppelin,sergeymazin/zeppelin,Altiscale/incubator-zeppelin,mwkang/zeppelin,openthings/zeppelin,datalayer/zeppelin-datalayer,sctincman/zeppelin,optimizely/incubator-zeppelin,pellmont/zeppelin,minahlee/zeppelin,tzolov/incubator-zeppelin,datalayer/zeppelin,doanduyhai/incubator-zeppelin,pravin-dsilva/zeppelin,Nova-Boy/zeppelin,r-kamath/zeppelin,tzolov/incubator-zeppelin,tillrohrmann/incubator-zeppelin,zetaris/zeppelin,YuanGunGun/zeppelin,jongyoul/incubator-zeppelin,yu74n/zeppelin,cfries/zeppelin,jongyoul/incubator-zeppelin,vrlo/zeppelin,raysteam/zeppelin,Nova-Boy/zeppelin,volumeint/zeppelin,prabhjyotsingh/incubator-zeppelin,sergeymazin/zeppelin,rconline/zeppelin,chilang/zeppelin,hammertank/zeppelin,datalayer/zeppelin,Leemoonsoo/incubator-zeppelin,tillrohrmann/incubator-zeppelin,spacewalkman/incubator-zeppelin,mwkang/zeppelin,tinkoff-dwh/zeppelin,onkarshedge/incubator-zeppelin,soralee/zeppelin,herval/zeppelin,sergeymazin/zeppelin,zetaris/zeppelin,vgmartinez/incubator-zeppelin,radicalbit/incubator-zeppelin,onkarshedge/incubator-zeppelin,tzolov/incubator-zeppelin,Nova-Boy/zeppelin,prabhjyotsingh/zeppelin,jongyoul/zeppelin,Madhuka/incubator-zeppelin,VipinRathor/zeppelin,mfelgamal/zeppelin,benoyantony/zeppelin,pellmont/zeppelin,soralee/zeppelin,anthonycorbacho/incubator-zeppelin,lresende/incubator-zeppelin,prabhjyotsingh/zeppelin,datalayer/zeppelin-datalayer,sergeymazin/zeppelin,soralee/zeppelin,Madhuka/incubator-zeppelin,mwpenny/zeppelin-esri,openthings/zeppelin,spacewalkman/incubator-zeppelin,r-kamath/incubator-zeppelin,karuppayya/zeppelin,pravin-dsilva/zeppelin,SachinJanani/zeppelin,zjffdu/zeppelin,1ambda/zeppelin,yu74n/zeppelin,radicalbit/incubator-zeppelin,spacewalkman/incubator-zeppelin,hkropp/incubator-zeppelin,r-kamath/incubator-zeppelin,chilang/zeppelin,vrlo/zeppelin,joroKr21/incubator-zeppelin,cfries/zeppelin,karuppayya/zeppelin,mwpenny/zeppelin-esri,namanmishra91/zeppelin,karuppayya/zeppelin,digitalreasoning/incubator-zeppelin,mwpenny/zeppelin-esri,doanduyhai/incubator-zeppelin,jongyoul/incubator-zeppelin,karuppayya/zeppelin,apache/zeppelin,raysteam/zeppelin,spacewalkman/incubator-zeppelin,lresende/incubator-zeppelin,IceKhan13/zeppelin,yu74n/zeppelin,zjffdu/zeppelin,sohaibiftikhar/zeppelin,wary/zeppelin,Leemoonsoo/zeppelin,yorek/zeppelin,onkarshedge/incubator-zeppelin,vipul1409/zeppelin,fogbeam/zeppelin_mirror,astroshim/incubator-zeppelin,raysteam/zeppelin,doanduyhai/incubator-zeppelin,minahlee/incubator-zeppelin,Nova-Boy/zeppelin,hkropp/incubator-zeppelin,apache/zeppelin,jongyoul/incubator-zeppelin,mwkang/zeppelin,herval/zeppelin,Nova-Boy/zeppelin,VipinRathor/zeppelin,mfelgamal/zeppelin,vipul1409/zeppelin,apache/zeppelin,optimizely/incubator-zeppelin,AlexanderShoshin/zeppelin,namanmishra91/zeppelin,wary/zeppelin,namanmishra91/zeppelin,wary/zeppelin,YuanGunGun/zeppelin,r-kamath/zeppelin,volumeint/zeppelin,rconline/zeppelin,VipinRathor/zeppelin,1ambda/zeppelin,VipinRathor/zeppelin,joroKr21/incubator-zeppelin,1ambda/zeppelin,mwkang/zeppelin,minahlee/zeppelin,Madhuka/incubator-zeppelin,pellmont/zeppelin,vipul1409/zeppelin,Madhuka/incubator-zeppelin