The third parameter, length, is now optional

This should be the most common use case.
Update .gitignore
Provide an exemple in README for the optional param
Add a HISTORY and AUTHORS sections
Do not allow pos to be set to 0
Add a COMPATIBILITY section

This might be of interess, even if just for me.
Add regression tests
Don't allow pos to be equal to string length