Add isvalid() and message() methods to track error and status information within integration methods.

Any warning occuring during integration are now stored in an internal data member string that is accessible using the message() method. If a warning or error occured, the isvalid() method will return false. Otherwise, and if the integration result is valid, the isvalid() method returns true.
Add debug code for integration