Make str-index return null rather than 0 for a missing substring.

Closes #1060
Add a map-remove() function for removing keys from a map.

Closes #1032
Ensure that all built-in functions' type checks are tested.
Merge remote-tracking branch 'origin/master'