Add test for reading <repository> element

Signed-off-by: Thomas Haller <thom311@gmail.com>
fixup! Let ParserUtils.parseBodyStream throw an exception on error.

Signed-off-by: Thomas Haller <thom311@gmail.com>
fixup! Let ParserUtils.parseBodyStream throw an exception on error.

Don't set the error code of the SUSEStudioException in ParserUtils.

Signed-off-by: Thomas Haller <thom311@gmail.com>
fixup! Let ParserUtils.parseBodyStream throw an exception on error.

Do not use the constructor overload of SUSEStudioException that
sets the cause.

If you don't like the additional constructor overload,
please drop commit
  f50ee0b - add constructer overload to SUSEStudioException
using git-rebase --interactive.

Signed-off-by: Thomas Haller <thom311@gmail.com>