headerGenerator function.

Introduced headerGenerator function which takes OAuth configuration
and returns a function that only takes the data and produces full
OAuth header. It's much easier than using other provided functions.