Fix options
Add permalink_style and read it from config
Return the proper URL template based on site permalink style
Add initial code to read configuration