use kibana field types, instead of ES field types
require name and script input
Merge pull request #2149 from w33ble/scripted-types

Fix scripted field types