Added onEnd() method for when endless:false

I noticed that afterAll and afterPhrase don't run if endless is set to false, so I added a method for that. It's helpful if you want to do something after the typer has finished but you don't want to loop endlessly.