new viml function: scriptval()

As described in proposal issue neovim/neovim:#1136