Basic analysis class for checking pedantics.

This analysis class is currently limited in what it checks for but more checks
will be added in the coming commits.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>