Configurable start index and max length for Emoji application

I tested it a bit, it should work fine. I made this feature available only to TextViews.

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
`length` doesn't respect `index`, I think the logic is incorrect for the case `index > 0`.