[DSL] Fixed the `to_hash` serialization and `option_method` implementation in BaseComponent
Added the Rake tasks for generating source code skeletons

Generates a Ruby class and unit test for a DSL component (query, filter, aggregation)