refactor file.go, add archive & pagination

- there is a method to write articles & pages (less duplication).
- there are config booleans for show archive, tags & categories. In case
  that some of those is false in the configuration, then the pages are
  not going to be created.
  Note:  Some work is needed on the ifs inside the base template.
- there is a new design for the index page that is going to show all the
  article and a button to leave a comment.
- pagination was added.

TODO: I need to "cache" the loaded template in package variables.