code refactored to class
converted meta info to a dictionary instead of a list
added feature: fixing permalink
added features: it always generates permalink and category (even if not present as meta in the original .rst file. Now it also process properly references to other .rst files at the same category
just saving a non working version for future
current version is able to pass all tests. Some cleanup is required
cleaned up and fixed a problem with images and non rst local resources
fixed some doc