improved error messages in sprinklerpi php library

One of the error messages was not setting errmsg in
the object.  Line number and file name have also been
added.