added a from parameter to createError(). iq from field type fix in constructor. more iq doc
added shortcut method for creating and sending a iq result
added optional from field to createResult method
fix