Clean up loadfromfile.pl, get rid of some dependencies

Add some command line switches instead of having the user patch the
script by hand.

Remove Tie::Handle::CSV dependency in order to use Text::CSV instead of
Text::CSV_XS.