Add a TransformFunc type for std::function for transformer.

Mainly for working with lazy transformer.
Add some initial transformer test.
Add build directory to .gitignore.
Add instruction about cmake build.