Add starts_with, ends_with, and reverse function

Successor of https://github.com/boto/jmespath/pull/51, which was based on a previous version of the codebase.