Made all metadata unit tests passed with ruby based metadata.
Restored all specs representing unit tests.
Corrected data tables metadata. Prepared database metadata for test purposes.
Completed refactoring conversing gauge to ruby-based metadata.
Big validators infrastructure refactoring.