Add options in default template to override string generated

Add 3 new options : 

* container_template : To override global layout of pagination
* page_with_text_template : To override link in pagination
* span_template : To override simple text in pagination

I keep the container method for BC but maybe it will be better to remove it in a futur version ?