Better logging of load errors

This change provides better error logging, especially for older versions of Junos where the rpc-reply incorrectly contains the </ok> element (which prevented the error message to appear in the logs). It also includes severity and bad elements.