legacy: xmlmarclint import fix

* Moves import of sys module into main() function for things
  to magically work.

* Removes legacy "version" parameter.

* General PEP8/PEP257 fixes.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>