Update getcsv.php

Added some docblock documentation.
Added the ability to parse the name of the fields from an array.