Fixed parser & agenda caching

Using the complete file path as cache key so there are no clashes for
same file names in different paths. Updated the views accordingly.
Refactored key for headlines

In order to reduce the redundancy moved the logic for representing the
key in the views to the headline itself.