Fixes src-d#42 This PR implements the substring(str, start, length) function with the following rules: - negative start or length causes an error. - start bigger or ...