Track `userCreated` for function definitions
Check `userCreated` property instead of querying start blocks
Add tests for new function error messages
Code review feedback
Merge pull request #626 from code-dot-org/better-error-messages

Add tests for new function error messages