Add SHA1 interface to ScriptApi

Allows Lua to access the SHA1 functionality that is already in Minetest