Add compatibility with gemoji v2

The next major release of Gemoji is incompatible with previous usage. Detect and use the new API if available.

/cc @aroben @josh