Modularize validation of a compilation unit.

Modulize class structure in order to write proper unit tests. All classes
in ocanalyzer.analyzer now extract CompilationUnits that can be analyzed
using Rules (generated from  RuleFactory). They are analyzed by simply
calling validate.

This approach simplifies the api usage and abstracts pakages, project,
workspaces from extracting compilation units.