Minor cleanup, exception handling for xml parsing, coding guidelines compliance

- compliance with coding guidelines
- added exception handling for xml parsing
- removed unnecessary echo </pre> after return logic in import_full
- removed unnecessary loop and checking for numerical return value of process_svn_log_xml (this seems to be not required for a while since the process_svn_log in the current form does not return a numerical value either)