transitProfiler class and TDD tests for class initial dev

added rspec tests for ruby classes in TP and validator for node.js forms