Add more options to htmltruncator

Allow to choose length and ellipsis