Fix terminal encoding issues
Fix imports
Remove custom class for MetadataRecord

There is nothing special in this record, no need
for a custom class.
Fix handle_record method

- Try to accept more metadata encoding
- Following use of Photo in MassUploadLibrary,
  fix constructor of MetadataRecord
Use CLI control with argparse

We want to be able to control the script through CLI
We use argparse module for that.
Use MassUploadLibrary stuff in main method

MassUploadLibrary provides all we need, merely calling
the right methods at the right moment, with argparse magic.
Tweak setup.py