Multiple fixes

- Fixed a problem in pango/cairo detection.
- Reorganized the library include  headers.
- Minor file documentation fix.