Added two macros for metrics

Hi,

I added two macros for the code analysis. Also I added a folder "common" that contains the RGraph library. These should be pushed into the /static folder.

Bests,
Johannes