A fix and a test case for box.schema.func.exists() (Closes gh-671)

Implement box.schema.func.exists(), add a test.