Changed ParamCfg.Builder to take mostly Object

This makes it possible to directly use Number, Boolean or other
objects directly rather than String representations.
Added fromParam to Generator
Simplified Generator

Removed inner static class in favor of anonymous class.
Improved SinkTest

- Added better, more specific tests.
- Simplified tests.