Porting out_stdout (v11)

Ported out_stdout's `output_type` option which I pull requested at https://github.com/fluent/fluentd/pull/153 to v11. 
I added spec also.