Fix issue#19 Autodetect [{Object}] vs {Object}

Add create CSV with or without column title by passing hasCSVColumnTitle to params.

Refactor code by moving code relate to checking params to checkParams()