Added Clamp() function to the lua api.
Added api documentation for Clamp()
Made lua clamp() compatible with all number types.
Merge pull request #1289 from mc-server/LuaAPI

Added Clamp() function to the lua api.